ReplayHap.attach

void attach(Handler handler) @safe

Attach a handler. If a value has been emitted, the handler is invoked immediately with the stored value.

Parameters

handlerDelegate handler to attach; null is ignored.