mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
parent
6decc4dd38
commit
18fff69946
1 changed files with 2 additions and 7 deletions
|
@ -24,13 +24,8 @@ use std::pin::Pin;
|
|||
use std::sync::Arc;
|
||||
|
||||
pub type DependencyMap = HashMap<String, Dependency>;
|
||||
pub type FetchFuture = Pin<
|
||||
Box<
|
||||
(dyn Future<Output = Result<CachedModule, (ModuleSpecifier, AnyError)>>
|
||||
+ 'static
|
||||
+ Send),
|
||||
>,
|
||||
>;
|
||||
type FetchFutureOutput = Result<CachedModule, (ModuleSpecifier, AnyError)>;
|
||||
pub type FetchFuture = Pin<Box<dyn Future<Output = FetchFutureOutput> + Send>>;
|
||||
|
||||
/// A group of errors that represent errors that can occur with an
|
||||
/// an implementation of `SpecifierHandler`.
|
||||
|
|
Loading…
Reference in a new issue