Execute (well queue up on JS event thread) the onopen callback when the OnReadInitialMetadataDone lifecycle event is hit by gRPC. Do the same for onclose callback when the OnDone lifecycle event is hit.
Details
Details
- Call openSocket
- Assign .onopen callback
- Assign .onclose callback
- Make sure .onopen callback fires (console log something)
- Call socket.close()
- Make sure the .onclose callback fires (console log something)
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable