setAsync

open fun setAsync(isAsync: Boolean)(source)

Sets whether the tick function should be called asynchronously.

WARNING: Settings a block to tick asynchronously could have unintended consequences.

Only set this option if you understand what 'asynchronous' means, and note that you cannot interact with the world asynchronously.