Skip to content

class Athena::Routing::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 external documentation for more information.

Included modules


Class methods#

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

View source


#response : ART::Response #

The response object.

View source