Closed mfulton26 closed 2 months ago
From what I can tell, all of the functions that receive callbacks of type SuccessFailOptions are all void returning functions. I'd much rather have these functions return Promises (especially if not callbacks are passed in). Can this be supported?
SuccessFailOptions
void
Promise
https://github.com/amazon-connect/amazon-connect-streams/blob/b8f213e6cde76cd1d57da07fec1b7f6804ca05be/src/index.d.ts#L953
This can't be supported currently. If you would like to submit a feature request, you can submit one to AWS support here.
From what I can tell, all of the functions that receive callbacks of type
SuccessFailOptions
are allvoid
returning functions. I'd much rather have these functions returnPromise
s (especially if not callbacks are passed in). Can this be supported?https://github.com/amazon-connect/amazon-connect-streams/blob/b8f213e6cde76cd1d57da07fec1b7f6804ca05be/src/index.d.ts#L953