Skip to main content

Module executor

Module executor 

Source
Expand description

The Executor trait — how plugins send work to PHP workers.

folk-core provides the concrete implementation, backed by the worker pool.

Traits§

Executor
Sends a serialized payload to a PHP worker and returns the response.

Functions§

chunks_to_value
Drain a ResponseChunk stream into a single serde_json::Value.
value_to_chunks
Convert a single-shot PHP response Value into a stream of ResponseChunks.