mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
docs(chord): tutorial: only the server builds
This commit is contained in:
parent
86338abbd8
commit
bb36171aac
2 changed files with 6 additions and 6 deletions
|
|
@ -480,9 +480,9 @@ evaluation or setup failed is left out and listed in `report.failed` with the re
|
|||
need it wait until a later edit loads it.
|
||||
:::
|
||||
|
||||
A worker never builds. The server builds the worker kind too and sends the scripts in the worker's start message; the
|
||||
worker only evaluates, with its own modules. A page gets its scripts from the server over HTTP and evaluates them with
|
||||
the modules of its base bundle.
|
||||
Only the server builds. Workers and clients (browser tabs, terminal UIs) only evaluate: the server builds their kinds
|
||||
too, a worker gets its scripts in its start message, a tab or a TUI gets them from the server over HTTP, and each
|
||||
evaluates them with its own modules (a worker's from `workerMain`, a page's from its base bundle).
|
||||
|
||||
# Plugins Using Plugins {#together lede="Two ways one plugin uses another, and the one it may not."}
|
||||
|
||||
|
|
|
|||
|
|
@ -457,9 +457,9 @@ script's default export must be a facet.</p>
|
|||
evaluation or setup failed is left out and listed in <code>report.failed</code> with the reason; the others load. Objects that
|
||||
need it wait until a later edit loads it.</p>
|
||||
</div></div>
|
||||
<p>A worker never builds. The server builds the worker kind too and sends the scripts in the worker's start message; the
|
||||
worker only evaluates, with its own modules. A page gets its scripts from the server over HTTP and evaluates them with
|
||||
the modules of its base bundle.</p>
|
||||
<p>Only the server builds. Workers and clients (browser tabs, terminal UIs) only evaluate: the server builds their kinds
|
||||
too, a worker gets its scripts in its start message, a tab or a TUI gets them from the server over HTTP, and each
|
||||
evaluates them with its own modules (a worker's from <code>workerMain</code>, a page's from its base bundle).</p>
|
||||
</section>
|
||||
|
||||
<section class="chapter" id="together"><header class="opener"><div class="numeral">VII</div><h2>Plugins Using Plugins</h2><p class="lede">Two ways one plugin uses another, and the one it may not.</p></header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue