Skip to content

memoryNotificationStores — @gj-kit/nest-notifications

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

import { memoryNotificationStores } from '@gj-kit/nest-notifications/testing';
/**
* Never use in production: no durability, no cross-process atomicity, and a
* snapshot API that would expose every recipient's content.
*
* It implements the same `stage`, `tombstoneRecipient` and `registerEndpoint`
* seams a host wires over its own adapters, so our own unit suite and a host's
* conformance run enter through one door (design 5.4). Row locking is modelled
* with a promise chain per outbox row, which is what makes the L1/L2 interleaving
* cases mean anything here.
*/
declare function memoryNotificationStores(runtime?: NotificationRuntime): MemoryNotificationStores;

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: ./testing
  • Source: GitHub