Skip to main content

wasi_single_stream_mode_enabled

Function wasi_single_stream_mode_enabled 

Source
pub fn wasi_single_stream_mode_enabled(value: Option<&str>) -> bool
Expand description

Returns whether the WASI guest should process a single request stream.

§Parameters

§Returns

Returns true when the condition checked by crate::binaries::wasi_single_stream_mode_enabled holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::binaries::wasi_single_stream_mode_enabled("value");
  • crate::binaries for adjacent helpers that share the same runtime surface.