Skip to content

Calling Async.wrap stops function processing #4

@boxxa

Description

@boxxa

I call this function in the startup of my app. I expect it to run and loop. The Async task I would assume would execute and then continue on but once the asyncGameUpdater runs, it stops the processing.

function gameUpdateTask(){
    var asyncGameUpdater = Async.wrap(gameUpdater);
    asyncGameUpdater();
    var i=0;
    while (i < config.openInAdvance){
        syncGameUpdater();
        i++;

    }
}

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