Skip to content

[Question]: proper whay to advance tasks forwardΒ #1

@Nedgeva

Description

@Nedgeva

Hey @TylorS ! Thanks for very useful lib πŸ‘
Right now i'm using somewhat a workaround like this

const [timer, scheduler] = createVirtualScheduler();
const advanceTasks = (value = 0) => timer.progressTimeBy(value);

...to propagate tasks (even those that don't have explicit delays).
So i have to call advanceTasks() each time i want to stream to be resolved.
I wonder if there's a batter approach to do that.

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