New Issue: I/O module: express channel mark/revert/commit via context manager

19611, "jhh67", "I/O module: express channel mark/revert/commit via context manager", "2022-04-05T22:46:45Z"

Currently, lightweight transactions on channels are implemented via channel.mark, channel.revert, and channel.commit. Could lightweight transactions be expressed via a context manager?