PriorityHap.registerInto

void registerInto(ref RegistrationBag bag, Handler handler) @safe

Register a delegate handler at default priority 0 on this hap and store the registration in a bag.

Parameters

bagThe registration bag receiving the registration.
handlerDelegate handler to register.
void registerInto(ref RegistrationBag bag, FunctionHandler handler) @safe

Register a free-function handler at default priority 0 on this hap and store the registration in a bag.

Parameters

bagThe registration bag receiving the registration.
handlerFree-function handler to register.
void registerInto(ref RegistrationBag bag, Handler handler, int priority) @safe

Register a delegate handler with the given priority on this hap and store the registration in a bag.

Parameters

bagThe registration bag receiving the registration.
handlerDelegate handler to register.
priorityLower values run first.
void registerInto(ref RegistrationBag bag, FunctionHandler handler, int priority) @safe

Register a free-function handler with the given priority on this hap and store the registration in a bag.

Parameters

bagThe registration bag receiving the registration.
handlerFree-function handler to register.
priorityLower values run first.