Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Async architecture

Changing lib/internal/setImmediate in Async reaches 85 modules. 6 files call it directly. Snapshot 3921e54.

The first file to open in Async is lib/internal/setImmediate. A change there reaches 85 of 115 modules.

This lead file reaches 74% of the graph. The median published proof reaches 60%.

internal/setImmediate85 · 6 fan-in
internal/initialParams83 · 5 fan-in
internal/wrapAsync82 · 39 fan-in
lib/asyncify82 · 2 fan-in
internal/onlyOnce64 · 8 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Async · Score: 95.4/100 (Excellent architecture) · 115 modules · 293 edges · JavaScript · 8 of 43 · Language score median 91.7

Cycles
1
Duplicate authorities
0
God modules
2
Layer violations
0
arc impact lib/internal/setImmediate

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Async
[![ArcSight architecture proof for Async](https://arcsight.ai/badge/proof/async/)](https://arcsight.ai/repositories/async/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Async · 3921e54

RankFileFan-inBlastShare
1lib/internal/setImmediate

concentrates too many responsibilities

68574%
2lib/internal/initialParams

concentrates too many responsibilities

58372%
3lib/internal/wrapAsync

concentrates too many responsibilities, shared utility hub, sits on a dependency cycle

398271%
4lib/asyncify28271%
5lib/internal/onlyOnce86456%
All ranked files
RankFileFan-inBlastShare
6lib/internal/awaitify395850%
7lib/internal/once85548%
8lib/internal/breakLoop55245%
9lib/internal/eachOfLimit114943%

Circular dependencies

This snapshot records 1 dependency cycles.

Nearby proofs

Snapshot notes

In caolan async, a change that begins in lib setImmediate keeps traveling until it reaches lib initialParams, with lib wrapAsync as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark acdcaafeeb.

asyncify is worth opening beside lib setImmediate because lib onlyOnce still participates when asyncify moves, and lib awaitify stays in view for caolan async, snapshot mark acdcaafeeb.

Review lib once only after lib initialParams and lib breakLoop are both on the table, since the link from lib eachOfLimit back to lib wrapAsync belongs to caolan async under snapshot mark acdcaafeeb.

lib setImmediate and lib initialParams are later stops, and a reviewer who has already seen lib wrapAsync should still look at asyncify before treating the ROOT_CLUSTER group as understood for caolan async, snapshot mark acdcaafeeb.

asyncify closes the file list after lib onlyOnce and lib setImmediate, which keeps the caolan async note tied to snapshot mark acdcaafeeb, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • (3 modules)
  • ROOT_CLUSTER (74 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in caolan async: lib setImmediate?
Start with lib setImmediate, because the rest of the caolan async walk leaves from that file and lib initialParams is the next file in the same review. Commit acdcaafeeb records it.
What else is on the caolan async walk besides lib setImmediate and lib wrapAsync?
lib wrapAsync and asyncify stay on the walk with lib onlyOnce, which are different files from lib setImmediate inside the ROOT_CLUSTER group for caolan async. Commit acdcaafeeb records it.
How should a reviewer use lib awaitify in the caolan async snapshot?
Keep lib awaitify, lib once, and lib breakLoop open together, then check lib eachOfLimit before merging the caolan async change. Commit acdcaafeeb records it.
Where does the caolan async review stop after lib setImmediate?
Stop after lib setImmediate, lib initialParams, and lib wrapAsync have been compared with asyncify, leaving the ROOT_CLUSTER group until those caolan async files are clear. Commit acdcaafeeb records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/async/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo