Skip to content

Playback throws NotImplementedException when using Delay() #45

@CodeTao

Description

@CodeTao

Playback.GetObservable() throws a NotImplementedException when the Delay() operator is used.

    using (var playback = new Playback())
    {
        var evtTime = new DateTimeOffset(2018, 1, 1, 12, 0, 0);

        playback.AddInput(new[] { new Timestamped<object>(evtTime, evtTime) });
        playback.GetObservable<DateTimeOffset>()
            .Delay(TimeSpan.FromSeconds(10), playback.Scheduler)
            .Subscribe(x => Debug.WriteLine($"Data Time: {x}    SchedulerTime: {playback.Scheduler.Now}"));
        playback.Run();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions