GraphReFlyTS

API Reference

GraphMessageReply()

D488 microservice/message reply egress decorator over an existing reply-correlated node.

Import

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

Signature

function GraphMessageReply(
	replyNode: Node<NestReplyEnvelope<TPayload>>,
	opts: { readonly bindingId: string; readonly order?: number },
): GraphMethodDecorator

Parameters

ParameterTypeDescription
replyNodeNode<NestReplyEnvelope<TPayload>>reply node value used by the helper.
opts{ readonly bindingId: string; readonly order?: number }Options that configure the helper.

Returns

A GraphMethodDecorator value.

Example

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

Source

packages/ts/src/adapters/nestjs.ts