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

3 lines (2 loc) 200 B
import type { CreatedEvent, EventFlowMap } from '@schemeless/event-store-types'; export declare const makeValidateAndApply: (eventFlowMap: EventFlowMap) => (event: any) => Promise<CreatedEvent<any>>;