http://xqerl.org/modules/event
This module is statically bound to the prefix "event".
- Description
Module for sending asynchronous events from XQuery to Erlang event handlers.
Event handler callback modules can be listed in the configuration under 'event_handlers'.
All events are tuples with the first element `xqerl_event` followed with the arguments from the calling function.
{xqerl_event, Arg1, Arg2}
- Functions
event:notify
- Signature
event:notify($arg1 as item()*) as empty-sequence()
event:notify($arg1 as item()*, $arg2 as item()*) as empty-sequence()
event:notify($arg1 as item()*, $arg2 as item()*, $arg3 as item()*) as empty-sequence()
event:notify($arg1 as item()*, $arg2 as item()*, $arg3 as item()*, $arg4 as item()*) as empty-sequence()- Description
- Notify the locally registered `xqerl_event_man` event manager and its handlers.