@angstone/monostone
Version:
monolitic event-sourced framework
12 lines (11 loc) • 333 B
TypeScript
import { IEventRecipe } from "../interfaces";
/**
* send an event to event store
* @param eventRecipe recipe with the command and the request
* @return eventNumber
*/
export declare function send(eventRecipe: IEventRecipe): Promise<number>;
/**
* deletes all events
*/
export declare function clearAllEvents(): Promise<void>;