Skip to main content

Enumeration: ApplicationEvent

Events for Jova Listeners.

string

Enumeration Members

ALL

ALL: "any"

Catch all events.

Listener Handler Params: event: ApplicationEvent, ...args: any[]

string

Defined in

types/jova/Events.ts:31


ERROR

ERROR: "error"

If an error occurs in the Jova Server.

Listener Handler Params: error: Error | unknown

string

Defined in

types/jova/Events.ts:39


MOUNT

MOUNT: "mount"

The mount event is fired on a sub-app, when it is mounted on a parent application. The parent app is passed to the callback function.

Listener Handler Params: application: JovaServer

string

Defined in

types/jova/Events.ts:47


READY

READY: "ready"

When the Jova Server has successfully started.

Listener Handler Params: none

string

Defined in

types/jova/Events.ts:15


ROUTE

ROUTE: "route"

When a route runs its handler function.

Listener Handler Params: request: ApplicationRequest

string

Defined in

types/jova/Events.ts:23