GraphReFlyTS

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

ParameterTypeDescription
msnumberDuration or timestamp in milliseconds.

Returns

A GraphMethodDecorator value.

Example

import { GraphInterval } from "@graphrefly/ts/adapters/nestjs";

Source

packages/ts/src/adapters/nestjs.ts