Page Contents

Home > @loopback/rest > SequenceFunction

SequenceFunction type

A sequence function is a function implementing a custom sequence of actions to handle an incoming request.

Signature:

export declare type SequenceFunction = (context: RequestContext, sequence: DefaultSequence) => Promise<void> | void;