Package 

Class SocketSubscription

    • Method Summary

      Modifier and Type Method Description
      final Unit cancel() Cancel the subscription and stop listening for messages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SocketSubscription

        SocketSubscription(WebSocketApi webSocketApi, Function1<IncomingSocketMessage, Unit> callback)
    • Method Detail

      • cancel

         final Unit cancel()

        Cancel the subscription and stop listening for messages.