Type alias ManagedPeerDataConnectionEvent

ManagedPeerDataConnectionEvent: {
    conn: ManagedPeerDataConnection;
} & ({
    type: OPEN;
} | {
    type: CLOSE;
} | {
    data: any;
    type: DATA;
} | {
    error: Error;
    type: ERROR;
})

Type declaration

Generated using TypeDoc