On

abstract fun On(context: DIContext<*>): DirectDI

Returns a DirectDI with its context changed.

Parameters

context

The new context for the new DirectDI.