consumeLiveEvents

abstract suspend fun consumeLiveEvents(clientId: String, markerId: String): NetworkResponse<Flow<WebSocketEvent<ConsumableNotificationResponse>>>

Open a websocket connection to listen to live events.

Parameters

clientId

the id of current the client.

markerId

a random id used to identify the end of the initial sync. This will be received in the events stream.