Documentation
Preparing search index...
@adonisjs/core
index
configProvider
Variable configProvider
Const
configProvider
:
{
create
<
T
>
(
resolver
:
(
app
:
ApplicationService
)
=>
Promise
<
T
>
,
)
:
ConfigProvider
<
T
>
;
resolve
<
T
>
(
app
:
ApplicationService
,
provider
:
unknown
)
:
Promise
<
null
|
T
>
;
}
= ...
Helper to create config provider and resolve config from them
Type Declaration
create
:
function
create
<
T
>
(
resolver
:
(
app
:
ApplicationService
)
=>
Promise
<
T
>
)
:
ConfigProvider
<
T
>
Type Parameters
T
Parameters
resolver
:
(
app
:
ApplicationService
)
=>
Promise
<
T
>
Returns
ConfigProvider
<
T
>
resolve
:
function
resolve
<
T
>
(
app
:
ApplicationService
,
provider
:
unknown
)
:
Promise
<
null
|
T
>
Type Parameters
T
Parameters
app
:
ApplicationService
provider
:
unknown
Returns
Promise
<
null
|
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Helper to create config provider and resolve config from them