MCPcopy Index your code
hub / github.com/simstudioai/sim / encodeTimeCursor

Function encodeTimeCursor

apps/sim/lib/data-drains/sources/cursor.ts:15–17  ·  view source on GitHub ↗
(value: TimeCursor)

Source from the content-addressed store, hash-verified

13}
14
15export function encodeTimeCursor(value: TimeCursor): Cursor {
16 return JSON.stringify(value)
17}
18
19export function decodeTimeCursor(cursor: Cursor): TimeCursor | null {
20 if (!cursor) return null

Callers 6

cursorAfterFunction · 0.90
cursorAfterFunction · 0.90
cursorAfterFunction · 0.90
cursorAfterFunction · 0.90
cursor.test.tsFile · 0.90
cursorAfterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected