Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Java/Threema/domain/libthreema/lib/src/common/     Datei vom 25.3.2026 mit Größe 569 B image not shown  

Quelle  task.rs   Sprache: unbekannt

 
Spracherkennung für: .rs vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

//! Common items specific to tasks.
use libthreema_macros::{DebugVariantNames, VariantNames};

/// Result of polling a task or advancing a task's state in any other fashion.
///
/// Note: This allows to easily expose instructions of a sub-task from a task without exposing the
/// sub-task's results.
#[derive(DebugVariantNames, VariantNames)]
pub enum TaskLoop<TInstruction, TResult> {
    /// An enclosed instructions needs to be handled in order to advance the task's state.
    Instruction(TInstruction),

    /// Result of the completed task.
    Done(TResult),
}

[Dauer der Verarbeitung: 0.24 Sekunden, vorverarbeitet 2026-04-27]