Preparing search index...
The search index is not available
Midway v3 Api Reference
Midway v3 Api Reference
@midwayjs/core
IObjectLifeCycle
Interface IObjectLifeCycle
Object Lifecycle 对象生命周期
Hierarchy
IObjectLifeCycle
Index
Methods
on
Before
Bind
on
Before
Object
Created
on
Before
Object
Destroy
on
Object
Created
on
Object
Init
Methods
on
Before
Bind
on
Before
Bind
(
Clzz
:
any
, options
:
ObjectBeforeBindOptions
)
:
void
Parameters
Clzz:
any
options:
ObjectBeforeBindOptions
Returns
void
on
Before
Object
Created
on
Before
Object
Created
(
Clzz
:
any
, options
:
ObjectBeforeCreatedOptions
)
:
void
Parameters
Clzz:
any
options:
ObjectBeforeCreatedOptions
Returns
void
on
Before
Object
Destroy
on
Before
Object
Destroy
<
T
>
(
ins
:
T
, options
:
ObjectBeforeDestroyOptions
)
:
void
Type Parameters
T
Parameters
ins:
T
options:
ObjectBeforeDestroyOptions
Returns
void
on
Object
Created
on
Object
Created
<
T
>
(
ins
:
T
, options
:
ObjectCreatedOptions
<
T
>
)
:
void
Type Parameters
T
Parameters
ins:
T
options:
ObjectCreatedOptions
<
T
>
Returns
void
on
Object
Init
on
Object
Init
<
T
>
(
ins
:
T
, options
:
ObjectInitOptions
)
:
void
Type Parameters
T
Parameters
ins:
T
options:
ObjectInitOptions
Returns
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
IObject
Life
Cycle
on
Before
Bind
on
Before
Object
Created
on
Before
Object
Destroy
on
Object
Created
on
Object
Init
Generated using
TypeDoc
Object Lifecycle 对象生命周期