MCPcopy
hub / github.com/loopbackio/loopback-next / SequenceFromFunction

Class SequenceFromFunction

packages/rest/src/rest.server.ts:932–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930 */
931 public handler(handlerFn: SequenceFunction) {
932 class SequenceFromFunction extends DefaultSequence {
933 async handle(context: RequestContext): Promise<void> {
934 return handlerFn(context, this);
935 }
936 }
937
938 this.sequence(SequenceFromFunction);
939 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected