()
| 262 | * }) |
| 263 | * |
| 264 | * const actual = await Effect.runPromise(Effect.scoped(program)) |
| 265 | * actual // => ["Hello", "World"] |
| 266 | * ``` |
| 267 | * |
| 268 | * @category constructors |
| 269 | * @since 3.13.0 |
| 270 | */ |
| 271 | export const makeRuntimePromise = <R, K, A = unknown, E = unknown>(): Effect.Effect< |
| 272 | <XE extends E, XA extends A>( |
| 273 | key: K, |
| 274 | effect: Effect.Effect<XA, XE, R>, |
| 275 | options?: |
| 276 | | Effect.RunOptions & { |
| 277 | readonly onlyIfMissing?: boolean | undefined |
| 278 | } |
| 279 | | undefined |
| 280 | ) => Promise<XA>, |
| 281 | never, |
| 282 | Scope.Scope | R |
| 283 | > => |
nothing calls this directly
no test coverage detected
searching dependent graphs…