Closed chemicL closed 2 months ago
As Flux.generate uses SynchronousSink, which should not be used asynchronously, we can eliminate the unnecessary ThreadLocal restoration from this operator.
Flux.generate
SynchronousSink
ThreadLocal
Related to #3840.
Thanks for the review @violetagg :)
As
Flux.generate
usesSynchronousSink
, which should not be used asynchronously, we can eliminate the unnecessaryThreadLocal
restoration from this operator.Related to #3840.