true when the handler was attached, or false if the hap is full or the handler is null.bool attach(Handler handler) @safe nothrow @nogcAttach a @nogc nothrow delegate handler.
handler | Delegate handler to attach; null is ignored. |
true when the handler was attached, or false if the hap is full or the handler is null.bool attach(FunctionHandler handler) @safe nothrow @nogcAttach a @nogc nothrow free-function handler.
handler | Free-function handler to attach; null is ignored. |
true when the handler was attached, or false if the hap is full or the handler is null.