stream_bucket_prepend()
function stream_bucket_prepend(mixed $brigade, mixed $bucket): void
Prepends a bucket to the brigade.
Parameters:
$brigade(mixed)$bucket(mixed)
Returns: void
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/filesystem/stream_bucket_prepend.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how stream_bucket_prepend is implemented in the compiler, see the internals page.