Defines the callbacks related to processing.
Methods
Included Modules
Constants
TERMINATOR | = | ->(mailbox, chain) do chain.call mailbox.finished_processing? end |
Instance Public methods
after_processing(*methods, &block)
📝 Source code
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 25
def after_processing(*methods, &block)
set_callback(:process, :after, *methods, &block)
end
🔎 See on GitHub
around_processing(*methods, &block)
📝 Source code
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 29
def around_processing(*methods, &block)
set_callback(:process, :around, *methods, &block)
end
🔎 See on GitHub
before_processing(*methods, &block)
📝 Source code
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 21
def before_processing(*methods, &block)
set_callback(:process, :before, *methods, &block)
end
🔎 See on GitHub