map
fun BlockingDoubleChain.map(transform: (Double) -> Double): BlockingDoubleChain
Content copied to clipboard
Map the chain result using suspended transformation. Initial chain result can no longer be safely consumed since mapped chain consumes tokens. Accepts regular transformation function.