Function yieldLock
Returns an object that ensures that no task switches happen during its life time.
vibe .core .core .yieldLock yieldLock();
Any attempt to run the event loop or switching to another task will cause an assertion to be thrown within the scope that defines the lifetime of the returned object.
Multiple yield locks can appear in nested scopes.