ResultEvent

@Serializable
class ResultEvent(val walletId: String?) : ResponseEvent

Constructors

Link copied to clipboard
constructor(walletId: String?)

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: Long?

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

Link copied to clipboard

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.

open fun respond(event: ChainableEvent)

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