UNPKG

@schemeless/event-store-react-native

Version:

React Native compatible build of the [`@schemeless/event-store`](../event-store) runtime. It mirrors the Node.js implementation but swaps the internal queue implementation to [`react-native-better-queue`](https://github.com/YahyaASadiq/react-native-better

6 lines (5 loc) 292 B
import type { BaseEvent, CreatedEvent, EventFlowMap } from '@schemeless/event-store-types'; export declare const makeCreateConsequentEventInputs: (eventFlowMap: EventFlowMap) => (event: CreatedEvent<any>) => Promise<{ consequentEvents: BaseEvent<any>[]; event: CreatedEvent<any>; }>;