Flush is called when the custom receiver gets a 'flush' directive from a parent receiver. If custom receiver implements some kind of buffering or queing, then the appropriate reaction on a flush message is synchronous flushing of all those queues/buffers. If custom receiver doesn't have such mechanisms, then flush implementation may be left empty.

Flush is referenced in 1 repository