Skip to content

Replace context with simple IOC container #1

@cammanderson

Description

@cammanderson

Various streams can make use of network module. There are several ways to offer a way to customise the dependencies, but could be done with relative ease by replacing the "context" with a container.

It does not need any async behaviour, and should be as simple as container with a get/set(service).

Streams have access to the container, and can therefore access defaults, such as 'network' or could be configured with the stream-composition to access an alternative network client that could be configured prior.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions