MCPcopy Index your code
hub / github.com/coder/mux / hasWorkspaceTurn

Method hasWorkspaceTurn

src/node/services/messageQueue.ts:120–126  ·  view source on GitHub ↗
(handleId: string)

Source from the content-addressed store, hash-verified

118 }
119
120 hasWorkspaceTurn(handleId: string): boolean {
121 return (
122 handleId.length > 0 &&
123 isWorkspaceTurnMetadata(this.firstMuxMetadata) &&
124 this.firstMuxMetadata.taskHandleId === handleId
125 );
126 }
127
128 getQueueDispatchMode(): QueueDispatchMode {
129 return this.queueDispatchMode;

Callers 1

Calls 1

isWorkspaceTurnMetadataFunction · 0.85

Tested by

no test coverage detected