Context.getCurrent

Get the #JSCContext that is currently executing a function. This should only be called within a function or method callback, otherwise null will be returned.

class Context
static
getCurrent
()

Return Value

Type: javascriptcore.context.Context

the #JSCContext that is currently executing.