@internal
| 39 | |
| 40 | /** @internal */ |
| 41 | class None implements FiberId.None { |
| 42 | readonly [FiberIdTypeId]: FiberId.FiberIdTypeId = FiberIdTypeId |
| 43 | readonly _tag = OP_NONE |
| 44 | readonly id = -1 |
| 45 | readonly startTimeMillis = -1; |
| 46 | [Hash.symbol](): number { |
| 47 | return emptyHash |
| 48 | } |
| 49 | [Equal.symbol](that: unknown): boolean { |
| 50 | return isFiberId(that) && that._tag === OP_NONE |
| 51 | } |
| 52 | toString() { |
| 53 | return format(this.toJSON()) |
| 54 | } |
| 55 | toJSON() { |
| 56 | return { |
| 57 | _id: "FiberId", |
| 58 | _tag: this._tag |
| 59 | } |
| 60 | } |
| 61 | [NodeInspectSymbol]() { |
| 62 | return this.toJSON() |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | /** @internal */ |
| 67 | class Runtime implements FiberId.Runtime { |
nothing calls this directly
no outgoing calls
no test coverage detected