Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Safe Handler Execution #17

Merged
merged 1 commit into from
Mar 14, 2017
Merged

Safe Handler Execution #17

merged 1 commit into from
Mar 14, 2017

Conversation

hyperthunk
Copy link
Member

Evaluating safe or apiSafe in a 'filters' block allows the user to mark
certain messages for safe handling. When marked thus, any matching handlers
for these messages are evaluated without fully de-queueing the message from
the priority queue, such that if we receive and handle (i.e. swallow) an
exit signal, the message will be available for re-processing. Only once a
message has been safely processed will it be fully dequeued from the internal
mailbox/queue.

Evaluating 'safe' or 'apiSafe' in a 'filters' block allows the user to mark
certain messages for safe handling. When marked thus, any matching handlers
for these messages are evaluated without fully dequeueing the message from
the priority queue, such that if we receive and handle (i.e. swallow) an
exit signal, the message will be available for re-processing. Only once a
message has been safely processed will it be fully dequeued from the internal
mailbox/queue.
@hyperthunk hyperthunk merged commit 741ae23 into master Mar 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant