emit


Description:

public int emit (ref Event event)

Emit an event.

The event object may be generated using the Parser.parse() function. The event object is destroyed even if the function fails.

Parameters:

event

An event object.

emitter

An emitter object.

Returns:

1 if the function succeeded, 0 on error.