onReady

abstract fun onReady(cb: DirectDI.() -> Unit)

Adds a callback that will be called once the DI object has been initialized.

Parameters

cb

A callback.