Function
suspend
(config: LazyArg<Config.Config<A>>)
Source from the content-addressed store, hash-verified
| 582 | |
| 583 | /** @internal */ |
| 584 | export const suspend = <A>(config: LazyArg<Config.Config<A>>): Config.Config<A> => { |
| 585 | const lazy = Object.create(proto) |
| 586 | lazy._tag = OpCodes.OP_LAZY |
| 587 | lazy.config = config |
| 588 | return lazy |
| 589 | } |
| 590 | |
| 591 | /** @internal */ |
| 592 | export const sync = <A>(value: LazyArg<A>): Config.Config<A> => { |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…