arty_executor 0.6.0

Single-threaded async task executor for the Arty runtime.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/// Selects how the executor responds to a contained task panic.
#[derive(Clone, Debug, Default)]
pub enum PanicPolicy {
    /// Start executor shutdown with a panic cause.
    #[default]
    Shutdown,

    /// Contain the failed task and continue running other tasks.
    Ignore,
}