public ExecutionContext transform ( Consumer < ExecutionContextBuilder > builderConsumer ) { ExecutionContextBuilder builder = ExecutionContextBuilder . newExecutionContextBuilder ( this ) ; builderConsumer . accept ( builder ) ; return builder . build ( ) ; }
This helps you transform the current ExecutionContext object into another one by starting a builder with all the current values and allows you to transform it how you want .