Debugging
SHARED FUNCTIONS
log
Prints a formatted debug message to the console.
parameters
level:
stringmessage:
string
bdtk.log(level, message)wait_for
Waits until a given function returns true or a timeout is reached.
parameters
fn:
functiontimeout:
number|nilinterval:
number|nil
returns
boolean
bdtk.wait_for(fn, timeout, interval)Last updated