Contents
Syntax
The syntax for
console.lock
@console.lock
Description
The
If the console is locked without being unlocked then it will be automatically unlocked and an error will be thrown with your file failing to build or script failing.
Note: If a thread building another page attempts to output to the console while it is locked the thread will stall until the console becomes available again, which can slow down build times.
Note:
@console.lock()!
f++ example
Example of
console.lock console("hello, world!") console.unlock
n++ example
Example of
@console.lock @console("hello, world!") @console.unlock