winter / io.jentz.winter / BoundService / instance

instance

abstract fun instance(): R

This is called every time an instance is requested from the Graph.

If this service has to create a new instance to satisfy this request it must do the initialization in newInstance by calling Graph.evaluate.

Return
An instance of type R.