#weretaco-multiple-invoiceitems
1 messages · Page 1 of 1 (latest)
sure
right now it's really painful from a user pov to have to wait on the backend to do this
await service.CreateAsync(invoiceLineOptions, requestOptions: requestOptions);
especially when we can end up with 30 + lines
yeah afaik there isn't a way to batch this
any better way to do it? or just stuck waiting on the calls?
yeah you have to do it serially
wondering i can fire off multiples at once and just await all of them returning before proceeding to create the invoice
I wouldn't recommend that since all your parallel calls will wait on each other due to holding locks (internally) on the Customer object etc