4 ms·
The pipe wish can be accomplished with a class. Not the most ergonomic but works well. You just need to explicitly cast `return <?, ?>this`.
by nesarkvechnep 4y ago
The pipe wish can be accomplished with a class. Not the most ergonomic but works well. You just need to explicitly cast `return <?, ?>this`.
- choward 4y agoThat means all the functions you are piping have to have the same return type (i.e return an instance of your class). Piping is more generic.