Search
Preparing search index...
The search index is not available
Yarn API
Home
Configuration
Features
CLI
Advanced
GitHub
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
yarnpkg-core
MultiFetcher
Globals
Generic Packages
@yarnpkg/core
@yarnpkg/fslib
@yarnpkg/libzip
@yarnpkg/nm
@yarnpkg/parsers
@yarnpkg/pnp
@yarnpkg/pnpify
@yarnpkg/sdks
@yarnpkg/shell
Yarn Packages
@yarnpkg/builder
@yarnpkg/cli
Default Plugins
@yarnpkg/plugin-compat
@yarnpkg/plugin-dlx
@yarnpkg/plugin-essentials
@yarnpkg/plugin-file
@yarnpkg/plugin-git
@yarnpkg/plugin-github
@yarnpkg/plugin-http
@yarnpkg/plugin-init
@yarnpkg/plugin-link
@yarnpkg/plugin-nm
@yarnpkg/plugin-npm
@yarnpkg/plugin-npm-cli
@yarnpkg/plugin-pack
@yarnpkg/plugin-patch
@yarnpkg/plugin-pnp
Contrib Plugins
@yarnpkg/plugin-constraints
@yarnpkg/plugin-exec
@yarnpkg/plugin-interactive-tools
@yarnpkg/plugin-stage
@yarnpkg/plugin-typescript
@yarnpkg/plugin-version
@yarnpkg/plugin-workspace-tools
Class MultiFetcher
Hierarchy
MultiFetcher
Implements
Fetcher
Constructors
constructor
Properties
fetchers
Methods
fetch
getFetcher
getLocalPath
supports
tryFetcher
Constructors
constructor
new
Multi
Fetcher
(
fetchers
:
Array
<
Fetcher
>
)
:
MultiFetcher
Parameters
fetchers:
Array
<
Fetcher
>
Returns
MultiFetcher
Properties
Private
fetchers
fetchers
:
Array
<
Fetcher
>
Methods
fetch
fetch
(
locator
:
Locator
, opts
:
FetchOptions
)
:
Promise
<
object
>
Parameters
locator:
Locator
opts:
FetchOptions
Returns
Promise
<
object
>
Private
get
Fetcher
get
Fetcher
(
locator
:
Locator
, opts
:
MinimalFetchOptions
)
:
Fetcher
Parameters
locator:
Locator
opts:
MinimalFetchOptions
Returns
Fetcher
get
Local
Path
get
Local
Path
(
locator
:
Locator
, opts
:
FetchOptions
)
:
null
|
string
&
object
Parameters
locator:
Locator
opts:
FetchOptions
Returns
null
|
string
&
object
supports
supports
(
locator
:
Locator
, opts
:
MinimalFetchOptions
)
:
boolean
Parameters
locator:
Locator
opts:
MinimalFetchOptions
Returns
boolean
Private
try
Fetcher
try
Fetcher
(
locator
:
Locator
, opts
:
MinimalFetchOptions
)
:
null
|
Fetcher
Parameters
locator:
Locator
opts:
MinimalFetchOptions
Returns
null
|
Fetcher
yarnpkg-
core
Multi
Fetcher
constructor
fetchers
fetch
get
Fetcher
get
Local
Path
supports
try
Fetcher
Generated using
TypeDoc