block_duration ()
Given a block, runs it and returns the amount of time that has passed. This time is in seconds and is not scaled to the current BPM. Any threads spawned in the block are not accounted for.
Introduced in v2.9
# Example 1 | |
|
|
# Example 2 | |
|
|