DefaultGatewayEventInterceptor
class DefaultGatewayEventInterceptor @KordPreview constructor(customContextCreator: CustomContextCreator?) : GatewayEventInterceptor(source)
Default implementation of GatewayEventInterceptor that also updates cache.
Parameters
customContextCreator
This function is invoked inside of handle to create an object that is inserted into customContext. Note that it will only be invoked if this particular handle invocation actually creates an Event.
Functions
Link copied to clipboard
Converts a gateway event (in the form of a ShardEvent) to a core event.