ContextReceiver

interface ContextReceiver

Receiver for referencing external instances needed when executing query, mutation and more.

Usage:

val ContextReceiver.customClient: CustomClient?
get() = get(customClientKey)

See also

Inheritors

Functions

Link copied to clipboard
abstract operator fun <T : Any> get(key: ContextPropertyKey<T>): T?