Preparing search index...
The search index is not available
Midway v3 Api Reference
Midway v3 Api Reference
@midwayjs/core
ISimulation
Interface ISimulation
Hierarchy
ISimulation
Index
Methods
app
Setup?
app
Tear
Down?
context
Setup?
context
Tear
Down?
enable
Condition
setup?
tear
Down?
Methods
Optional
app
Setup
app
Setup
(
app
:
IMidwayBaseApplication
<
Context
>
)
:
Promise
<
void
>
Parameters
app:
IMidwayBaseApplication
<
Context
>
Returns
Promise
<
void
>
Optional
app
Tear
Down
app
Tear
Down
(
app
:
IMidwayBaseApplication
<
Context
>
)
:
Promise
<
void
>
Parameters
app:
IMidwayBaseApplication
<
Context
>
Returns
Promise
<
void
>
Optional
context
Setup
context
Setup
(
ctx
:
Context
, app
:
IMidwayBaseApplication
<
Context
>
)
:
Promise
<
void
>
Parameters
ctx:
Context
app:
IMidwayBaseApplication
<
Context
>
Returns
Promise
<
void
>
Optional
context
Tear
Down
context
Tear
Down
(
ctx
:
Context
, app
:
IMidwayBaseApplication
<
Context
>
)
:
Promise
<
void
>
Parameters
ctx:
Context
app:
IMidwayBaseApplication
<
Context
>
Returns
Promise
<
void
>
enable
Condition
enable
Condition
(
)
:
boolean
|
Promise
<
boolean
>
Returns
boolean
|
Promise
<
boolean
>
Optional
setup
setup
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Optional
tear
Down
tear
Down
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Midway v3
Api
Reference
@midwayjs/bootstrap
@midwayjs/core
Consumer
Metadata
FaaSMetadata
GRPCMetadata
@midwayjs/decorator
@midwayjs/koa
ISimulation
app
Setup?
app
Tear
Down?
context
Setup?
context
Tear
Down?
enable
Condition
setup?
tear
Down?
Generated using
TypeDoc