Preparing search index...
The search index is not available
Distributed Lab | Web-Kit
Distributed Lab | Web-Kit
@distributedlab/w3p
ProviderDetector
Class ProviderDetector<T>
Type Parameters
T
extends
keyof
Record
<
string
,
string
>
Hierarchy
ProviderDetector
Index
Constructors
constructor
Properties
is
Initiated
pure
Providers
raw
Providers
cfg
error
Handlers?
Accessors
is
Enabled
providers
Methods
add
Provider
define
Providers
designate
Providers
detect
Raw
Providers
get
Appropriate
Provider
Name
get
Provider
init
define
Error
Handlers
set
Cfg
Constructors
constructor
new
Provider
Detector
<
T
>
(
)
:
ProviderDetector
<
T
>
Type Parameters
T
extends
string
Returns
ProviderDetector
<
T
>
Properties
is
Initiated
is
Initiated
:
boolean
= false
pure
Providers
pure
Providers
:
ProviderInstance
<
T
>
[]
raw
Providers
raw
Providers
:
RawProvider
[]
Static
cfg
cfg
:
ProviderDetectorConfig
Static
Optional
error
Handlers
error
Handlers
?:
ErrorHandlersMap
Accessors
is
Enabled
get
isEnabled
(
)
:
boolean
Returns
boolean
providers
get
providers
(
)
:
Record
<
PROVIDERS
|
T
,
ProviderInstance
>
Returns
Record
<
PROVIDERS
|
T
,
ProviderInstance
>
Methods
add
Provider
add
Provider
(
provider
:
ProviderInstance
<
T
>
)
:
void
Parameters
provider:
ProviderInstance
<
T
>
Returns
void
define
Providers
define
Providers
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
designate
Providers
designate
Providers
(
)
:
void
Returns
void
detect
Raw
Providers
detect
Raw
Providers
(
)
:
void
Returns
void
get
Appropriate
Provider
Name
get
Appropriate
Provider
Name
(
provider
:
RawProvider
)
:
PROVIDERS
Parameters
provider:
RawProvider
Returns
PROVIDERS
get
Provider
get
Provider
(
provider
:
PROVIDERS
|
T
)
:
undefined
|
ProviderInstance
Parameters
provider:
PROVIDERS
|
T
Returns
undefined
|
ProviderInstance
init
init
(
)
:
Promise
<
ProviderDetector
<
T
>
>
Returns
Promise
<
ProviderDetector
<
T
>
>
Static
define
Error
Handlers
define
Error
Handlers
(
handlersMap
:
ErrorHandlersMap
)
:
void
Parameters
handlersMap:
ErrorHandlersMap
Returns
void
Static
set
Cfg
set
Cfg
(
cfg
:
Partial
<
ProviderDetectorConfig
>
)
:
void
Parameters
cfg:
Partial
<
ProviderDetectorConfig
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Distributed
Lab |
Web-
Kit
@distributedlab/fetcher
@distributedlab/jac
@distributedlab/reactivity
@distributedlab/tools
@distributedlab/w3p
Provider
Detector
constructor
is
Initiated
pure
Providers
raw
Providers
cfg
error
Handlers?
is
Enabled
providers
add
Provider
define
Providers
designate
Providers
detect
Raw
Providers
get
Appropriate
Provider
Name
get
Provider
init
define
Error
Handlers
set
Cfg
Generated using
TypeDoc