internal static Task <WriteResult> AppendToCheckpoint(this EventStoreContext context, Flow flow) => context.AppendEvent(flow.Context.Key.GetCheckpointStream(), context.GetCheckpointEventData(flow));
internal static Task <WriteResult> AppendToTimeline(this EventStoreContext context, EventData data) => context.AppendEvent(TimelineStreams.Timeline, data);