예제 #1
0
 public static async Task <IEnumerable <T> > OobEvents <T>(this IEventStream stream, bool?backwards = false) where T : IEvent
 {
     return((await stream.OobEvents(backwards).ConfigureAwait(false)).Where(x => x.Event is T).Select(x => (T)x.Event));
 }