public static async Task <IEventLogStorage?> CreateAsync( EventLogStorageOptions options, ISystemClock?systemClock = default) { var result = new EventLogStorage(options, systemClock); await result.InitializeAsync(); return(result); }
public Task <IEventLogStorage?> CreateAsync(EventLogStorageOptions options) { return(EventLogStorage.CreateAsync(options, this._SystemClock)); }