ServeChunksOptions
Options for serveChunks.
Defined in: engine/src/worker/chunks.ts:48
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
make | (init: unknown) => | ChunkFill | Promise<ChunkFill> | Build this worker's fill from the init the pool sends (as given to ChunkFillPoolOptions.init, structured-cloned). Called once. May return a promise (loading a table, say); fills wait for it. If it throws, every request to this pool fails with its message. | engine/src/worker/chunks.ts:55 |
scope? | ChunkScope | The worker global (default self). | engine/src/worker/chunks.ts:57 |