shared::capabilities::persistent_storage

Function append_or_create_command

Source
pub fn append_or_create_command<Effect, Event>(
    file_name: String,
    data: Data,
) -> RequestBuilder<Effect, Event, impl Future<Output = <PersistentStorageOperation as Operation>::Output>>
where Effect: From<Request<PersistentStorageOperation>> + Send + 'static, Event: Send + 'static,
Expand description

Instructs shell code to append to an existing file or create a new one if it doesn’t exist