@bluelibs/runner - v5.5.0
Preparing search index...
PlatformAdapter
Class PlatformAdapter
Implements
IPlatformAdapter
Index
Constructors
constructor
Properties
clear
Timeout
env
id
set
Timeout
Methods
create
Async
Local
Storage
exit
get
Env
has
Async
Local
Storage
init
on
Shutdown
Signal
on
Uncaught
Exception
on
Unhandled
Rejection
Constructors
constructor
new
PlatformAdapter
(
env
?:
PlatformId
)
:
PlatformAdapter
Parameters
Optional
env
:
PlatformId
Returns
PlatformAdapter
Properties
Readonly
clear
Timeout
clearTimeout
:
PlatformClearTimeout
Readonly
env
env
:
PlatformId
Readonly
id
id
:
PlatformId
Readonly
set
Timeout
setTimeout
:
PlatformSetTimeout
Methods
create
Async
Local
Storage
createAsyncLocalStorage
<
T
>
()
:
IAsyncLocalStorage
<
T
>
Type Parameters
T
Returns
IAsyncLocalStorage
<
T
>
exit
exit
(
code
:
number
)
:
void
Parameters
code
:
number
Returns
void
get
Env
getEnv
(
key
:
string
)
:
string
|
undefined
Parameters
key
:
string
Returns
string
|
undefined
has
Async
Local
Storage
hasAsyncLocalStorage
()
:
boolean
Returns
boolean
init
init
()
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Shutdown
Signal
onShutdownSignal
(
handler
:
()
=>
void
)
:
()
=>
void
Parameters
handler
:
()
=>
void
Returns
()
=>
void
on
Uncaught
Exception
onUncaughtException
(
handler
:
(
error
:
unknown
)
=>
void
)
:
()
=>
void
Parameters
handler
:
(
error
:
unknown
)
=>
void
Returns
()
=>
void
on
Unhandled
Rejection
onUnhandledRejection
(
handler
:
(
reason
:
unknown
)
=>
void
)
:
()
=>
void
Parameters
handler
:
(
reason
:
unknown
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
clear
Timeout
env
id
set
Timeout
Methods
create
Async
Local
Storage
exit
get
Env
has
Async
Local
Storage
init
on
Shutdown
Signal
on
Uncaught
Exception
on
Unhandled
Rejection
@bluelibs/runner - v5.5.0
Loading...