MCPcopy
hub / github.com/toeverything/AFFiNE / push

Method push

blocksuite/framework/sync/src/doc/source.ts:14–14  ·  view source on GitHub ↗
(docId: string, data: Uint8Array)

Source from the content-addressed store, hash-verified

12 | { data: Uint8Array; state?: Uint8Array }
13 | null;
14 push(docId: string, data: Uint8Array): Promise<void> | void;
15
16 /**
17 * Subscribe to updates from peer

Callers 15

diffKeyedRecordsFunction · 0.65
extractRootDocPagesMetaFunction · 0.65
extractYjsTableFunction · 0.65
runScriptMethod · 0.65
runCommandMethod · 0.65
getWebpackBundleConfigsFunction · 0.65
getRspackBundleConfigsFunction · 0.65
executeMethod · 0.65
executeMethod · 0.65
OnceFunction · 0.65
createHTMLPluginsFunction · 0.65
collectFilesFunction · 0.65

Implementers 4

BroadcastChannelDocSourceblocksuite/framework/sync/src/doc/impl
NoopDocSourceblocksuite/framework/sync/src/doc/impl
IndexedDBDocSourceblocksuite/framework/sync/src/doc/impl
WebSocketDocSourceblocksuite/playground/apps/_common/syn

Calls

no outgoing calls

Tested by 15

readableToBytesFunction · 0.52
createCalDAVServerFunction · 0.52
wrapAsyncIterFunction · 0.52
readFunction · 0.52
createSessionFunction · 0.52
assertCitationFunction · 0.52
requestMethod · 0.52
requestMethod · 0.52
proxyPutObjectMethod · 0.52
proxyUploadPartMethod · 0.52
task1Function · 0.52
task2Function · 0.52