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

Class Token

packages/effect/src/cli/Prompt.ts:2032–2048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2030}
2031
2032class Token extends DatePart {
2033 increment(): void {}
2034
2035 decrement(): void {}
2036
2037 setValue(value: string): void {
2038 this.token = this.token + value
2039 }
2040
2041 override isToken(): this is Token {
2042 return true
2043 }
2044
2045 override toString() {
2046 return this.token
2047 }
2048}
2049
2050class Milliseconds extends DatePart {
2051 increment(): void {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected