Function ws_sdk::stream::get_data

source ·
pub fn get_data(resource_id: u32) -> Result<Vec<u8>>
Expand description

Retrieves the payload in the event as the stream source.

Examples

use ws-sdk::stream
let data = get_data(rid)?;