GuestEventListener

Node API: Guest Event Listener

Describes a guest-implemented event listener, which functions as a Consumer of Event instances, within the context of a given EventListener, backed by a guest function or value.

See also

for a host-side equivalent.

Types

Link copied to clipboard
object Companion

Factory utilities for guest-side event listeners.

Functions

Link copied to clipboard
open override fun accept(event: Event)
Link copied to clipboard
open fun andThen(p0: Consumer<in Event>): Consumer<Event>
Link copied to clipboard
open override fun execute(vararg arguments: Value?): Any?
Link copied to clipboard
abstract fun handleEvent(vararg event: Any?)

Handle an event's occurrence and dispatch against a given EventTarget.