warehouse
public final static Warehouse warehouse( Object accessibleTo, AccessibilityManagerContract accessibilityManager, Function1<WarehouseBuilder, Unit> block)
Content copied to clipboard
warehouse is a factory function for creating a warehouse instance the warehouse instance is the root object in this library it allows you to store your dependencies and also retrieve them.
See also
Parameters
accessible To
receives any as type it is used to group dependencies but more type safe
accessibility Manager
this manager is responsible for handling the access to objects in the graph
public final static Warehouse warehouse( Accessibility accessibility, AccessibilityManagerContract accessibilityManager, Function1<WarehouseBuilder, Unit> block)
Content copied to clipboard
warehouse is a factory function for creating a warehouse instance the warehouse instance is the root object in this library it allows you to store your dependencies and also retrieve them.
See also
Parameters
accessibility
receives Enum of Accessibility as type it is used to group dependencies but more type safe
accessibility Manager
this manager is responsible for handling the access to objects in the graph