Home Reference Source Test Repository

Typedef

Static Public Summary
public

Handler function for a received message.

public

Handler function for a received message in SandboxReceiver.

Static Public

public MessageReceiver~ReceiverFunction(message: Object, sender: Object): any | Promise: Function source

Handler function for a received message.

Return:

any | Promise

Any value to be returned to the sender as response.

If it is a Promise, its resolved value is returned to the sender,
or its rejected value is returned as error response.

See:

public SandboxReceiver~ReceiverFunction(message: Object): Promise | any: Function source

Handler function for a received message in SandboxReceiver.

Return:

Promise | any

Any value to be returned to the sender as response.

If it is a Promise, its resolved value is returned to the sender,
or its rejected value is returned as error response.