public Task AddAsync()

in src/Microsoft.Azure.WebJobs.Extensions.Dapr/Bindings/DaprSaveStateAsyncCollector.cs [29:39]


        public Task AddAsync(DaprStateRecord item, CancellationToken cancellationToken = default)
        {
            if (item.Key == null)
            {
                item.Key = this.attr.Key ?? throw new ArgumentException("No key information was found. Make sure it is configured either in the binding properties or in the data payload.", nameof(item));
            }

            this.requests.Add(item);

            return Task.CompletedTask;
        }