Skip to content

Global initialization with custom logic #6

@mattbierner

Description

@mattbierner

Support initializing the global state with some custom logic. For example, initializing with a module that implements the console methods for a debugger.

This would not be a functional implementation if handled at the sheut module level. To make it functional, the initialization function can instead map inputs to global context handles and then require the global handle be passed in when calls are made (like the existing debugContext operations).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions