Function ThreadLifeCycleListener.proxy

The proxy of the executor that runs the current thread's test

static shared(trial.executor.parallel.ThreadProxy) proxy();

Example

proxy returns the proxy stored for the current thread

auto old = currentProxy;
scope(exit) currentProxy = old;

auto expected = new shared ThreadProxy;
currentProxy = cast() expected;

(proxy is expected).should.equal(true);