Need tap and tap_error #1705
-
|
Hello folks, loving this awesome piece of work but definitely not for the C++ light hearted! In particular adding new adaptors I'm finding a big challenge. Mostly the nuances around types and forwarding, expectations around lifetimes etc. I try very hard to stick to what's here but am really needing a couple of adaptors - tap and tap_error, for commiting and rolling back a db transaction task respectively - that I've had a partially successful crack at implementing, but as of right now buried in a type error that neither me nor the robot (Claude) can fathom. :) Is anyone able to point me to implementations of these adaptors? Are they able to be easily written as compositions of others, for example let_error etc.? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Folks as an FYI, here's my attempt at tap... tap_error proving to be a little harder. |
Beta Was this translation helpful? Give feedback.
FYI, final impls, after greater study / insight: ;)