Interface MotionMasterPubSubSocket

Hierarchy

  • MotionMasterPubSubSocket

Implemented by

Properties

Accessors

Methods

Properties

close$: Observable<{
    code: number;
    reason: string;
}>

Emits close events with code and reason data.

Link

https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close_event

data$: Observable<[string, IMotionMasterMessage]>

Incoming data is a tuple of topic and decoded message.

opened$: BehaviorSubject<boolean>

Emits a boolean value when socket gets opened or closed.

Accessors

Methods

Generated using TypeDoc