Skip to content

Feature Request: work with external event loops #1

@tangentstorm

Description

@tangentstorm

I'm adding websocket support to a console-mode application ( https://github.com/tangentstorm/jprez ) that has its own event loop.

I need a way to have the websocket event loop and the j-kvm event loop run simultaneously.

It seems like adding a call to a handler verb (ws_onstep perhaps) inside `initrun might be the simplest way to do this.

Alternately, we could break initrun into separate setup, step, and teardown verbs that could be called by programs with their own event loops.

Do you have a preference?

(I am probably going to just monkey-patch initrun to call a ws_onstep for now, but I'd like to find an official way to do this.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions