pub unsafe extern "C" fn furi_stream_set_trigger_level(
    stream_buffer: *mut c_void,
    trigger_level: usize
) -> bool
Expand description

@brief Set trigger level for stream buffer. A stream buffer’s trigger level is the number of bytes that must be in the stream buffer before a task that is blocked on the stream buffer to wait for data is moved out of the blocked state.

@param stream_buffer The stream buffer instance @param trigger_level The new trigger level for the stream buffer. @return true if trigger level can be be updated (new trigger level was less than or equal to the stream buffer’s length). @return false if trigger level can’t be be updated (new trigger level was greater than the stream buffer’s length).