currentUnsafe

Provide the engine context object for the current thread; if the current thread is not an engine thread with an assigned context, an error is thrown.

Return

The engine context object for the current thread.

Throws

If the current thread is not an engine thread.