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) 181 B
import type { CreatedEvent, EventFlow } from '@schemeless/event-store-types'; export declare const validate: (eventFlow: EventFlow<any>, event: CreatedEvent<any>) => Promise<void>;