ms (memoryStorage)

Since Kuzzle v1.0.0

Events triggered when a request is sent to the memoryStorage controller.


ms:after<Action>

Since Kuzzle v1.0.0

Event type: Pipe

Payload: a Request object

All actions in the ms controller trigger this event after a successful execution, with the <Action> part of the event name replaced with the name of the action, capitalized.

Example: after a successful geoadd request, a ms:afterGeoadd event is triggered.


ms:before<Action>

Since Kuzzle v1.0.0

Event type: Pipe

Payload: a Request object

All actions in the ms controllers trigger this event before execution, with the <Action> part of the event name replaced with the name of the action, capitalized.

Example: before performing a sunion request, a ms:beforeSunion event is triggered.


ms:error<Action>

Since Kuzzle v1.0.0

Event type: Pipe

Payload: a Request object

All actions in the ms controllers trigger this event after a failed execution, with the <Action> part of the event name replaced with the name of the action, capitalized.

Example: after a failed smove request, a ms:errorSmove event is triggered.