Function
cursorKey
(list: ListDef, cursor: unknown)
Source from the content-addressed store, hash-verified
| 4332 | |
| 4333 | /** A cursor's identity within one walk: its encoding as JSON. */ |
| 4334 | const cursorKey = (list: ListDef, cursor: unknown): string | undefined => { |
| 4335 | try { |
| 4336 | return JSON.stringify(list.encodeCursor(cursor)) |
| 4337 | } catch { |
| 4338 | return undefined |
| 4339 | } |
| 4340 | } |
| 4341 | |
| 4342 | const settledEffect = (result: Settled): Effect.Effect<any, any> => |
| 4343 | result._tag === "Success" |
Tested by
no test coverage detected