Page Contents

Home > @loopback/repository > Callback

Callback type

Type alias for Node.js callback functions

Signature:

export type Callback<T> = (err: Error | string | null | undefined, result?: T) => void;