QueryHap.emit

Result[] emit(Args args) @safe

Invoke every attached handler and collect the results.

Handlers run in attachment order. If a handler throws an exception, dispatch stops immediately and the exception propagates to the caller.

Parameters

argsArguments forwarded to each handler.

Returns

One Result per attached handler, in attachment order; empty

when no handler is attached.