registerInto
fn
void registerInto(Args...)(ref RegistrationBag bag, ref Hap!Args hap,
void delegate(Args) @safe handler) @safeRegister a handler on a hap and add the resulting registration to a bag.
Convenience helper: registers handler on hap and stores the returned registration in bag, combining the two calls the helper exists for.
Parameters
bag | The registration bag to store the result in. |
hap | The hap to register the handler on. |
handler | The delegate handler to attach. |
fn
void registerInto(Args...)(ref RegistrationBag bag, ref Hap!Args hap,
void function(Args) @safe handler) @safeditto
fn
void registerInto(Args...)(ref RegistrationBag bag, ref NothrowHap!Args hap,
void delegate(Args) @safe nothrow handler) @safe nothrowditto
fn
void registerInto(Args...)(ref RegistrationBag bag, ref NothrowHap!Args hap,
void function(Args) @safe nothrow handler) @safe nothrowditto