miniSphere
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Thread
constructor
has
Focus
priority
running
on_
input
Check
on_
render
on_
shut
Down
on_
start
Up
on_
update
pause
resume
start
stop
take
Focus
yield
Focus
join
Hierarchy
Thread
Console
Index
Constructors
constructor
Properties
has
Focus
priority
running
Methods
on_
input
Check
on_
render
on_
shut
Down
on_
start
Up
on_
update
pause
resume
start
stop
take
Focus
yield
Focus
join
Constructors
constructor
new
Thread
(
options
?:
JobOptions
)
:
Thread
Parameters
Optional
options:
JobOptions
Returns
Thread
Properties
has
Focus
has
Focus
:
boolean
priority
priority
:
number
running
running
:
boolean
Methods
on_
input
Check
on_
input
Check
(
)
:
void
Returns
void
on_
render
on_
render
(
)
:
void
Returns
void
on_
shut
Down
on_
shut
Down
(
)
:
void
Returns
void
on_
start
Up
on_
start
Up
(
)
:
void
Returns
void
on_
update
on_
update
(
)
:
void
Returns
void
pause
pause
(
)
:
void
Returns
void
resume
resume
(
)
:
void
Returns
void
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
void
Returns
void
take
Focus
take
Focus
(
)
:
void
Returns
void
yield
Focus
yield
Focus
(
)
:
void
Returns
void
Static
join
join
(
...
threads
:
Thread
[]
)
:
Promise
<
void
>
Parameters
Rest
...
threads:
Thread
[]
Returns
Promise
<
void
>
Generated using
TypeDoc