@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
24 lines (16 loc) • 681 B
Markdown
lang: en
title: 'API docs: repository.callback'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.callback.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository](./repository.md) > [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;
```