setAsync

open fun setAsync(isAsync: Boolean)(source)

Sets whether the tick function should be called asynchronously.

WARNING: Setting an entity 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.