Home > post-me > Connection
An active connection between two contexts
Signature:
export interface Connection<M0 extends MethodsType = any, E0 extends EventsType = any, M1 extends MethodsType = any, E1 extends EventsType = any>
Method | Description |
---|---|
close() | Stop listening to incoming message from the other side |
localHandle() | Get a handle to the local end of the connection |
remoteHandle() | Get a handle to the other end of the connection |