<fire> fire a signal

name
fire
xml namespace
http://moyaproject.com

Fire (broadcast) a signal. Additional data may be provided to the signal handlers, by setting values in the let map. Signals may be handlers with the <handle> tag.

Moya will catch and log any exceptions raised by the signal handler(s).

Example

<fire signal="mordor.arrived" let:hobbit="Frodo"/>
attributes
name purpose type required? default choices
from Application application reference No
sender Optional element associated with the signal. element reference No
signal Signal name, should be in a dotted notation. Names with no dots are reserved by Moya. text Yes
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes