Function
pending
(
key: cache_.MapKey<Key>,
scoped: Effect.Effect<Effect.Effect<Value, Error, Scope.Scope>>
)
Source from the content-addressed store, hash-verified
| 122 | |
| 123 | /** @internal */ |
| 124 | export const pending = <Key, Value, Error = never>( |
| 125 | key: cache_.MapKey<Key>, |
| 126 | scoped: Effect.Effect<Effect.Effect<Value, Error, Scope.Scope>> |
| 127 | ): Pending<Key, Value, Error> => |
| 128 | Data.struct({ |
| 129 | _tag: "Pending", |
| 130 | key, |
| 131 | scoped |
| 132 | }) |
| 133 | |
| 134 | /** @internal */ |
| 135 | export const refreshing = <Key, Value, Error = never>( |
Tested by
no test coverage detected