Skip to content

Subscriber

@tsed/mikro-orm

Usage

typescript
import { Subscriber } from "@tsed/mikro-orm";

See /packages/orm/mikro-orm/src/types/decorators/subscriber.ts.

Overview

ts
const Subscriber: (options?: {
    contextName: string;
}) => any;

Description

Register a new subscriber for the given context name.

contextName

ts
contextName: string;

Released under the MIT License.