Interface: WebHandlerDefinition<I, P>

An object to define an API to send messages from shell to Web.

Type parameters

NameTypeDescription
IstringA type for the event identifier.
P-A type describing the shape of payloads sent to Web handlers.

Hierarchy

  • WebHandlerDefinition

Properties

async

• async: false


eventId

• eventId: I


payload

• Optional payload: P