MCPcopy
hub / github.com/coder/mux / awaitPendingPartialWrite

Method awaitPendingPartialWrite

src/node/services/streamManager.ts:755–759  ·  view source on GitHub ↗
(streamInfo: WorkspaceStreamInfo)

Source from the content-addressed store, hash-verified

753 }
754
755 private async awaitPendingPartialWrite(streamInfo: WorkspaceStreamInfo): Promise<void> {
756 if (streamInfo.partialWritePromise) {
757 await streamInfo.partialWritePromise;
758 }
759 }
760
761 /**
762 * Flush any pending partial write and write immediately

Callers 3

flushPartialWriteMethod · 0.95
persistStreamErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected