internal void Push(TimelinePoint point) { if (Flow.Key.Type.CanCall(point.EventType)) { Flow.Push(point); } }
internal void Push(TimelinePoint point) { foreach (var flow in _flows) { flow.Push(point); } }
internal TopicWhenCall( Topic topic, TimelinePoint point, IDependencySource dependencies, ClaimsPrincipal principal, CancellationToken cancellationToken) : base(topic, point, dependencies, principal, cancellationToken) { _newEvents = new Many <Event>(); }
private void Push(TimelinePoint point) { if (State.IsConnecting || State.IsConnected) { _scope.PushScheduled(point); } else { Log.Warning("[timeline] Cannot push to schedule when {Phase:l} - ignoring {Point:l}", State.Phase, point); } }
internal WhenCall( Flow flow, TimelinePoint point, IDependencySource dependencies, ClaimsPrincipal principal, CancellationToken cancellationToken) : base(flow, point) { Dependencies = dependencies; Principal = principal; CancellationToken = cancellationToken; }
private void WhenPushed(TimelinePoint point) { Point = point; try { Push(); } finally { Point = null; } }
public void Push(TimelinePoint point) { if (State.IsConnecting || State.IsConnected) { _points.OnNext(point); } else { Log.Warning( "[timeline] Cannot push to scope in phase {Phase} - ignoring {Point:l}", State.Phase, point); } }
public ResumePoint(TimelinePoint point, bool onSchedule) { Point = point; OnSchedule = onSchedule; }
internal GivenCall(Flow flow, TimelinePoint point, FlowGiven given) : base(flow, point) { Given = given; }
internal FlowCall(Flow flow, TimelinePoint point) { Flow = flow; Point = point; }
internal void PushScheduled(TimelinePoint point) { Push(_timelineDb.WriteScheduled(point)); }