This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as Effect from 'effect/Effect'; | |
| import * as Runtime from 'effect/Runtime'; | |
| /** Represents any object that can be wrapped by the proxy */ | |
| type AnyObject = Record<string | symbol, unknown>; | |
| /** The thenable interface that a third-party library expects when awaiting queries */ | |
| type ThenableFunction<T> = ( | |
| onfulfilled?: (value: T) => unknown, | |
| onrejected?: (reason: unknown) => unknown, |