8000 gameServer.fork() should return the array of workers · Issue #114 · colyseus/colyseus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
gameServer.fork() should return the array of workers #114
Closed
@seiyria

Description

@seiyria

In my case, I want to make an API that will send 53CC a message to all connected nodes. From my understanding, to do this, I need to spawn an express API on each server (already done), add a route that listens for external messages (which would be received by any worker in particular), process.send that message to the master, then have the master worker.send that to each individual worker. Right now, I can do all but the last step, because gameServer.fork() doesn't seem to return anything.

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

      0