flushers

Allows to register handlers when the flush method is called