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

Method setValue

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

Source from the content-addressed store, hash-verified

1914 }
1915
1916 setValue(value: string): void {
1917 this.date.setSeconds(Number.parseInt(value.slice(-2)))
1918 }
1919
1920 override toString() {
1921 const seconds = `${this.date.getSeconds()}`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected