close method

Future<bool> close()

Unsubscribes to the topic.

Implementation

Future<bool> close() async => this.socket.unsubscribe(this.name);