Main entry point for this framework to operate.

  • Depin
    • Basic
      • Identifiable
      • Object
        • Anything

no subtypes hierarchy

Constructors
Depinshared Depin({FunctionOrValueDeclaration*} declarations = ...)

Transforms given declarations into dependencies allowing for further injection.

Parameters:
  • declarations = {}

    Declarations transformed into Dependencies

Attributes
readyshared static ready ready

Depin is ready

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
injectshared Type inject<Type>(Injectable<Type> model)

Main functionality of this framework allowing to instantaite or call given Injectable using it's model

Parameters:
  • model
    • is Type result= factory.create(model).inject
Throws
notifyshared void notify<Event>(Event event)

Allows notification of Dependency.Decorator Handlers, with given event. This method honors type hierarchies so subtype events, will notify supertype Handlers, this also includes interfaces.

Inherited Methods
Methods inherited from: Object
equals
Nested Classes
Stateshared static abstract State

Notification state used by Handlers to allocate resources whenver Depin finishes initialization

readyshared static ready

Depin is ready