result builder transform
Last updated
Was this helpful?
Last updated
Was this helpful?
โฉ โฉ โฉ
Canโt use break, continue, defer, guard(๐ โ), return, while, do-catch in the code (usaully the body of a closure) that a result builder transforms.
The transformation process doesnโt change declarations in the code, which lets you use temporary constants and variables to build up expressions piece by piece.
It also doesnโt change throw statements, compile-time diagnostic statements, or closures that contain a return statement.