Function piecrust_uplink::feed
source ยท pub fn feed<D>(data: D)where
for<'a> D: Serialize<StandardBufSerializer<'a>>,
Available on crate feature
abi
only.Expand description
Feeds the host with data.
This is only allowed to be called in the context of a feed_call
, and
will error out otherwise. It is meant for contracts to be able to report
large amounts of data to the host, in the span of a single call.