current

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

Return

The engine context object for the current thread.

Throws

If the current thread is not an engine thread.