API Reference
GraphInterval()
Register fixed-interval metadata for a user-land NestJS scheduler bridge.
Import
import { GraphInterval } from "@graphrefly/ts/adapters/nestjs";
Signature
function GraphInterval(ms: number): GraphMethodDecorator
Parameters
| Parameter | Type | Description |
|---|---|---|
ms | number | Duration or timestamp in milliseconds. |
Returns
A GraphMethodDecorator value.
Example
import { GraphInterval } from "@graphrefly/ts/adapters/nestjs";
Source
packages/ts/src/adapters/nestjs.ts