Skip to content

chunkExpoPushMessages — @gj-kit/nest-notifications

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

import { chunkExpoPushMessages } from '@gj-kit/nest-notifications/expo';
/**
* Splits entries into request-sized chunks. Each chunk keeps its endpoints beside
* its messages, so ticket attribution is a data-structure fact rather than an
* assumption about a third-party chunker's ordering (design 0.3-4).
*/
declare function chunkExpoPushMessages(entries: readonly ExpoPushEntry[], options?: {
readonly chunkSize?: number | undefined;
}): readonly (readonly ExpoPushEntry[])[];

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