Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Transient
var eventBus: EventBus?

The event bus to which responses to this event are posted, or null if origin wasn't set for this event.

Link copied to clipboard
@Transient
var requestId: Int

The request ID that links request that originated from the web view with the response.

Functions

Link copied to clipboard
inline fun respond(block: () -> ChainableEvent)

Executes a block and posts the returned event to the chain using the same event bus to which this event was originally posted.

Posts an event to the chain in the same event bus to which this event was originally posted.