public async Task <IManageSessionOf <IHoldHigherOrder> > StartSession(Guid currentStreamId)
        {
            var session = await repository.BeginSessionFor(currentStreamId.ToString()).ConfigureAwait(false);

            return(session);
        }
Exemple #2
0
        public async Task <IManageSessionOf <IHoldHigherOrder> > StartSession(string streamName, DateTime?appliesAt = null)
        {
            var session = await repository.BeginSessionFor(streamName, appliesAt : appliesAt).ConfigureAwait(false);

            return(session);
        }