Skip to content

NotificationRelayRunner — @gj-kit/nest-notifications

A public class from @gj-kit/nest-notifications. The signature below is taken directly from the 0.1.1 release declaration.

import { NotificationRelayRunner } from '@gj-kit/nest-notifications';
/**
* 러너 — 주기 실행자가 부르는 것은 `run()`이다(설계 §3.8.2).
*
* 반환 타입이 곧 계약이다: `run(): Promise<Summary>`가 정확성 경로이고
* `NotificationPipelineWakeup.request(): void`가 지연 경로다. 두 요약 타입이 **type alias**라
* `Record<string, unknown>`에 구조적으로 대입되므로, 형제 잡 패키지의 어댑터가 12줄이 된다
* — 그것은 의존이 아니라 구조적 호환의 결과다(설계 §0.4-③).
*/
/** Injectable wrapper whose `run()` is what a scheduler calls. */
declare class NotificationRelayRunner {
#private;
constructor(relay: NotificationRelay);
/** One relay pass. Never throws for a single failed row; the summary reports it. */
run(): Promise<NotificationRelaySummary>;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-notifications
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub