Skip to content
This repository was archived by the owner on Dec 23, 2019. It is now read-only.
This repository was archived by the owner on Dec 23, 2019. It is now read-only.

Support "contexts" by inheriting the instance class #139

@ColonelThirtyTwo

Description

@ColonelThirtyTwo

The "Context" object is meant to provide settings to the instance, such as the ops limit, sandboxing environment, etc. (for example, the wire processor's context provides the default stuff, but the screen's context lowers the ops limit and gives access to the render library)

However, I think it would be more flexible if we instead create subclasses of instances, and providing overrideable methods and attributes (ex. instance.OpsLimit, instance.Environment, etc)

This would help with #116

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions