Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Aug 7, 2024
1 parent ab68650 commit fc669aa
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions turbopack/crates/turbo-tasks/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@ use crate::{
ValueTypeId, VcRead, VcValueTrait, VcValueType,
};

pub enum TaskType {
/// Tasks that only exist for a certain operation and
/// won't persist between sessions
Transient(TransientTaskType),

/// Tasks that can persist between sessions and potentially
/// shared globally
Persistent(CachedTaskType),
}

type TransientTaskRoot =
Box<dyn Fn() -> Pin<Box<dyn Future<Output = Result<RawVc>> + Send>> + Send + Sync>;

Expand Down

0 comments on commit fc669aa

Please sign in to comment.