Skip to content

Abstractions for synchronous or asynchronous script calls with responses #321

Closed
@makspll

Description

@makspll

I.e. right now it's not very easy to call a script and get something back out of it without digging through the codebase heavilly.

It should be as easy as:

script.call::<Callback>(vec![])

the sync vs async approaches have benefits and drawbacks, doing this async via messages, you could call any script from any system without exclusive world access

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions