Skip to content

class Athena::Framework::Events::Terminate
inherits Athena::EventDispatcher::Event #

Emitted very late in the request's life-cycle, after the response has been sent.

This event can be listened on to perform tasks that are not required to finish before the response is sent; such as sending emails, or other "heavy" tasks.

See the Getting Started docs for more information.

Included modules



.new(request : ATH::Request, response : ATH::Response)#

View source


#response : ATH::Response#

The response object.

View source