from
Factory method that can be used to create an InstanceSupplier from a Supplier.
Return
a new InstanceSupplier
Parameters
<T>
the instance type
supplier
the supplier that will provide the instance
Factory method that can be used to create an InstanceSupplier from a Supplier.
a new InstanceSupplier
the instance type
the supplier that will provide the instance