events

The events emitted from the gateway. Call Kord.login to start receiving events.

Events emitted by this flow are guaranteed to follow the same order as they were received by the web socket. Any event flow order between multiple MasterGateway.gateways is not guaranteed.

Subscriptions to this flow will not complete normally, as per design of SharedFlow. Use Flow.launchIn with Kord as CoroutineScope to cease event processing on Kord.shutdown.

Behavior like replay cache size, buffer size and overflow behavior are dependant on the supplied eventFlow. See KordBuilder.eventFlow for more details.