Cell API
Docs
GitHub
Preparing search index...
@celljs/core
common
ApplicationLifecycle
Interface ApplicationLifecycle<T>
interface
ApplicationLifecycle
<
T
extends
Application
>
{
initialize
?
()
:
void
;
onStart
?
(
app
:
T
)
:
MaybePromise
<
void
>
;
onStop
?
(
app
:
T
)
:
void
;
}
Type Parameters
T
extends
Application
Index
Methods
initialize?
on
Start?
on
Stop?
Methods
Optional
initialize
initialize
?
()
:
void
Returns
void
Optional
on
Start
onStart
?
(
app
:
T
)
:
MaybePromise
<
void
>
Parameters
app
:
T
Returns
MaybePromise
<
void
>
Optional
on
Stop
onStop
?
(
app
:
T
)
:
void
Parameters
app
:
T
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
initialize
on
Start
on
Stop
Docs
GitHub
Cell API
Loading...