MessageCollector.onEnd

Set the callback to be run at the end, when this.end() is called

class MessageCollector
void
onEnd
(
void delegate
(
Message[]
)
callback
)

Parameters

callback void delegate
(
Message[]
)

a void delegate(Message[]), assigned to this.callback; automatically wrapped in a @trusted delegate to stop Vibe.d from complaining that the callback isn't @safe

Meta