streams: simplify createPromiseCallback
#62650
+2
−8
Merged
Loading