public async Task <Dictionary <string, RuleDefinition> > GetAllRules() => await _pipeline.FirstAsync();
public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) { base.ExtendModelInterfaces(extenders); _modelExtended.FirstAsync().Wait(); extenders.Add <IModelApplication, IModelApplicationModelMapper>(); }
public async Task <string> GetToken() { return(await tokenObservable.FirstAsync()); }
public async Task <TApplicationState> GetStateSnapshotAsync() { return(await storeStateStream.FirstAsync()); }
public IObservable <TSource> Get(TKey id) { return(myRoutes.FirstAsync(e => e.Key.Equals(id)).Merge()); }