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 external documentation for more information.

Included modules

Athena::Framework::Events::RequestAware

Constructors#

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

View source

Methods#

#response #

The response object.

View source