T
NativeRuntimeBridge
Delivers Discord activity to plugins. Needs native.runtime.events.
type NativeRuntimeBridge = { … }Members
subscribe
(event: NativeRuntimeEventName, listener: (payload: NativeSerializableObject) => void): NativeRuntimeEventTokenCalls listener with a serializable payload each time the event happens.