UNPKG

@loopback/docs

Version:
23 lines (15 loc) 566 B
--- lang: en title: 'API docs: repository.callback' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.repository.callback.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [Callback](./repository.callback.md) ## Callback type Type alias for Node.js callback functions <b>Signature:</b> ```typescript export declare type Callback<T> = (err: Error | string | null | undefined, result?: T) => void; ```