@flowlab/all
Version:
A cool library focusing on handling various flows
17 lines (15 loc) • 700 B
text/typescript
export { emitEvent } from './api/emitEvents';
export { bindEvent } from './api/bindEvent';
export { unbindEvent } from './api/unbindEvent';
export { registerWorkflow } from './api/registerWorkflow';
export { startEventListener } from './api/startEventListener';
export { stopEventListener } from './api/stopEventListener';
export { listBoundEvents } from './api/listBoundEvents';
export { isEventBound } from './api/isEventBound';
export { onAnyEvent } from './api/onAnyEvent';
// 上下文与总线
export { useEventBus, getCurrentEventBus } from './internal/context';
export { EventBus } from './bus/EventBus';
export { EventContext } from './internal/context';
// 类型
export * from './types';