Skip to content

Optional on_empty callback. #18

Description

@kjnilsson

It could be useful to allow gen_batch_server implementations to hook into the part of the processing cycle where a batch has been processed but the mail box is now empty. The callback could be named on_empty or on_idle or something similar to that. This callback could provide a handy point to perform non-essential work, such as metric emission, full-sweep garbage_collection etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions