write_env is a sender adaptor
that accepts a sender and a queryable object, and
that returns a sender that,
when connected with a receiver
rcvr,
connects the adapted sender with a receiver
whose execution environment is the result of
joining the
queryable object
to the result of
get_env(rcvr).