1234567891011121314151617181920 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- // export function fromPromise<T>(
- // promise: Promise<T>,
- // options?: InvokedPromiseOptions
- // ): any {
- // const optionsWithDefaults = {
- // id: 'promise',
- // ...options
- // };
- // return Machine<T, PromiseMachineSchema>({
- // id: optionsWithDefaults.id,
- // initial: 'pending',
- // states: {
- // pending: {},
- // resolved: {},
- // rejected: {}
- // }
- // });
- // }
|