File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change 1+ ### Initialization
12
23``` mermaid
34sequenceDiagram
4- a-->>b: hello
5- ```
5+ participant C as client
6+ create participant W as worker
7+ C->>W : start Worker
8+ C-)W : loadWasm
9+ create participant A as wasm
10+ W->>A : instantiate Wasm
11+ create participant M as Memory
12+ A->>M : allocate shared memory
13+ A-->>W :
14+ W--)C : wasmMemory
15+ ```
16+
17+ ### loadVcd
18+
19+ ``` mermaid
20+ sequenceDiagram
21+ participant C as client
22+ participant W as worker
23+ participant A as wasm
24+ participant M as Memory
25+ C-)W : loadVcd(URL)
26+ W->>A : init
27+ create participant S as server
28+ W->>S : fetch
29+ loop [per chunk]
30+ S-->>W : resp
31+ W->>M : write input fuffer
32+ W->>+A : chunk()
33+ A-->>-W: return()
34+ W-)C : stats
35+ end
36+ W--)C : loadVcdDone
37+ ```
You can’t perform that action at this time.
0 commit comments