MCPcopy Create free account
hub / github.com/bea4dev/ShojiWM / readFramedMessages

Function readFramedMessages

tools/decoration-runtime.ts:3429–3452  ·  view source on GitHub ↗
(
  input: NodeJS.ReadableStream,
)

Source from the content-addressed store, hash-verified

3427 firstCommittedWindowIds.add(snapshot.id);
3428 debugSSD("runtime-emit-first-commit", {
3429 windowId: snapshot.id,
3430 phase: "evaluate-existing",
3431 wasPreconfigured,
3432 });
3433 events.emitFirstCommit(existing.cache.window);
3434 dirtyWindowIds.add(snapshot.id);
3435 }
3436
3437 const wasDirty = dirtyWindowIds.delete(snapshot.id);
3438 if (wasDirty) {
3439 const dirtyNodeIds = takeDirtyCompositionNodeIds(
3440 snapshot.id,
3441 existing.cache,
3442 );
3443 debugSSD("runtime-evaluate-existing-dirty", {
3444 windowId: snapshot.id,
3445 wasPreconfigured,
3446 dirtyNodeIds,
3447 });
3448 return {
3449 serialized: existing.cache.reevaluate(dirtyNodeIds).serialized,
3450 windowEffects: evaluateWindowEffects(effectConfig, snapshot.id, existing),
3451 };
3452 }
3453
3454 debugSSD("runtime-evaluate-existing-clean", {
3455 windowId: snapshot.id,

Callers 1

mainFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected