MCPcopy Create free account
hub / github.com/Effect-TS/effect / setValue

Method setValue

packages/effect/src/unstable/cli/Prompt.ts:1897–1899  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1895 }
1896
1897 setValue(value: string): void {
1898 this.date.setMilliseconds(Number.parseInt(value.slice(-this.token.length)))
1899 }
1900
1901 override toString() {
1902 const millis = `${this.date.getMilliseconds()}`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected