@bluelibs/runner - v5.5.0
Preparing search index...
AsyncContextFluentBuilder
Interface AsyncContextFluentBuilder<T>
interface
AsyncContextFluentBuilder
<
T
=
unknown
>
{
id
:
string
;
build
()
:
IAsyncContext
<
T
>
;
configSchema
(
schema
:
IValidationSchema
<
T
>
)
:
AsyncContextFluentBuilder
<
T
>
;
meta
<
TNewMeta
extends
IAsyncContextMeta
>
(
m
:
TNewMeta
,
)
:
AsyncContextFluentBuilder
<
T
>
;
parse
(
fn
:
(
raw
:
string
)
=>
T
)
:
AsyncContextFluentBuilder
<
T
>
;
schema
(
schema
:
IValidationSchema
<
T
>
)
:
AsyncContextFluentBuilder
<
T
>
;
serialize
(
fn
:
(
data
:
T
)
=>
string
)
:
AsyncContextFluentBuilder
<
T
>
;
}
Type Parameters
T
=
unknown
Index
Properties
id
Methods
build
config
Schema
meta
parse
schema
serialize
Properties
id
id
:
string
Methods
build
build
()
:
IAsyncContext
<
T
>
Returns
IAsyncContext
<
T
>
config
Schema
configSchema
(
schema
:
IValidationSchema
<
T
>
)
:
AsyncContextFluentBuilder
<
T
>
Parameters
schema
:
IValidationSchema
<
T
>
Returns
AsyncContextFluentBuilder
<
T
>
meta
meta
<
TNewMeta
extends
IAsyncContextMeta
>
(
m
:
TNewMeta
,
)
:
AsyncContextFluentBuilder
<
T
>
Type Parameters
TNewMeta
extends
IAsyncContextMeta
Parameters
m
:
TNewMeta
Returns
AsyncContextFluentBuilder
<
T
>
parse
parse
(
fn
:
(
raw
:
string
)
=>
T
)
:
AsyncContextFluentBuilder
<
T
>
Parameters
fn
:
(
raw
:
string
)
=>
T
Returns
AsyncContextFluentBuilder
<
T
>
schema
schema
(
schema
:
IValidationSchema
<
T
>
)
:
AsyncContextFluentBuilder
<
T
>
Alias for configSchema. Use this to define the context configuration validation contract.
Parameters
schema
:
IValidationSchema
<
T
>
Returns
AsyncContextFluentBuilder
<
T
>
serialize
serialize
(
fn
:
(
data
:
T
)
=>
string
)
:
AsyncContextFluentBuilder
<
T
>
Parameters
fn
:
(
data
:
T
)
=>
string
Returns
AsyncContextFluentBuilder
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
Methods
build
config
Schema
meta
parse
schema
serialize
@bluelibs/runner - v5.5.0
Loading...
Alias for configSchema. Use this to define the context configuration validation contract.