@turbowarp/types-tw
Preparing search index...
scratch-vm
VM
Thread
Interface Thread
interface
Thread
{
blockContainer
:
Blocks
;
blockGlowInFrame
:
string
|
null
;
generator
:
Generator
<
unknown
,
any
,
any
>
|
null
;
isCompiled
:
boolean
;
isKilled
:
boolean
;
justReported
:
unknown
;
requestScriptGlowInFrame
:
boolean
;
stack
:
string
[]
;
stackClick
:
boolean
;
stackFrames
:
StackFrame
[]
;
status
:
ThreadStatus
;
target
:
RenderedTarget
;
topBlock
:
string
;
triedToCompile
:
boolean
;
updateMonitor
:
boolean
;
warpTimer
:
Timer
|
null
;
atStackTop
()
:
boolean
;
getId
()
:
string
;
getParam
(
name
:
string
)
:
ScratchCompatibleValue
|
null
;
goToNextBlock
()
:
void
;
initParams
()
:
void
;
isRecursiveCall
(
procedureCode
:
string
)
:
boolean
;
peekParentStackFrame
()
:
StackFrame
|
null
;
peekStack
()
:
string
;
peekStackFrame
()
:
StackFrame
|
null
;
popStack
()
:
string
;
pushParam
(
name
:
string
,
value
:
ScratchCompatibleValue
)
:
void
;
pushReportedValue
(
value
:
ScratchCompatibleValue
)
:
void
;
pushStack
(
blockId
:
string
)
:
void
;
reuseStackForNextBlock
(
blockId
:
string
)
:
void
;
stopThisScript
()
:
void
;
tryCompile
()
:
void
;
}
Index
Properties
block
Container
block
Glow
In
Frame
generator
is
Compiled
is
Killed
just
Reported
request
Script
Glow
In
Frame
stack
stack
Click
stack
Frames
status
target
top
Block
tried
To
Compile
update
Monitor
warp
Timer
Methods
at
Stack
Top
get
Id
get
Param
go
To
Next
Block
init
Params
is
Recursive
Call
peek
Parent
Stack
Frame
peek
Stack
peek
Stack
Frame
pop
Stack
push
Param
push
Reported
Value
push
Stack
reuse
Stack
For
Next
Block
stop
This
Script
try
Compile
Properties
block
Container
blockContainer
:
Blocks
block
Glow
In
Frame
blockGlowInFrame
:
string
|
null
generator
generator
:
Generator
<
unknown
,
any
,
any
>
|
null
is
Compiled
isCompiled
:
boolean
is
Killed
isKilled
:
boolean
just
Reported
justReported
:
unknown
request
Script
Glow
In
Frame
requestScriptGlowInFrame
:
boolean
stack
stack
:
string
[]
stack
Click
stackClick
:
boolean
stack
Frames
stackFrames
:
StackFrame
[]
status
status
:
ThreadStatus
target
target
:
RenderedTarget
top
Block
topBlock
:
string
tried
To
Compile
triedToCompile
:
boolean
update
Monitor
updateMonitor
:
boolean
warp
Timer
warpTimer
:
Timer
|
null
Methods
at
Stack
Top
atStackTop
()
:
boolean
Returns
boolean
get
Id
getId
()
:
string
Returns
string
get
Param
getParam
(
name
:
string
)
:
ScratchCompatibleValue
|
null
Parameters
name
:
string
Returns
ScratchCompatibleValue
|
null
go
To
Next
Block
goToNextBlock
()
:
void
Returns
void
init
Params
initParams
()
:
void
Returns
void
is
Recursive
Call
isRecursiveCall
(
procedureCode
:
string
)
:
boolean
Parameters
procedureCode
:
string
Returns
boolean
peek
Parent
Stack
Frame
peekParentStackFrame
()
:
StackFrame
|
null
Returns
StackFrame
|
null
peek
Stack
peekStack
()
:
string
Returns
string
peek
Stack
Frame
peekStackFrame
()
:
StackFrame
|
null
Returns
StackFrame
|
null
pop
Stack
popStack
()
:
string
Returns
string
push
Param
pushParam
(
name
:
string
,
value
:
ScratchCompatibleValue
)
:
void
Parameters
name
:
string
value
:
ScratchCompatibleValue
Returns
void
push
Reported
Value
pushReportedValue
(
value
:
ScratchCompatibleValue
)
:
void
Parameters
value
:
ScratchCompatibleValue
Returns
void
push
Stack
pushStack
(
blockId
:
string
)
:
void
Parameters
blockId
:
string
Returns
void
reuse
Stack
For
Next
Block
reuseStackForNextBlock
(
blockId
:
string
)
:
void
Parameters
blockId
:
string
Returns
void
stop
This
Script
stopThisScript
()
:
void
Returns
void
try
Compile
tryCompile
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
block
Container
block
Glow
In
Frame
generator
is
Compiled
is
Killed
just
Reported
request
Script
Glow
In
Frame
stack
stack
Click
stack
Frames
status
target
top
Block
tried
To
Compile
update
Monitor
warp
Timer
Methods
at
Stack
Top
get
Id
get
Param
go
To
Next
Block
init
Params
is
Recursive
Call
peek
Parent
Stack
Frame
peek
Stack
peek
Stack
Frame
pop
Stack
push
Param
push
Reported
Value
push
Stack
reuse
Stack
For
Next
Block
stop
This
Script
try
Compile
@turbowarp/types-tw
Loading...