mirror of https://github.com/oxen-io/oxen-mq.git
506bd65b05
This provides an interface for sending a reply to a message later (i.e. after the Message& itself is no longer valid) by using a new `send_later()` method of the Message instance that returns an object that can properly route replies (and can outlive the Message it was called on). Intended use is: run_this_lambda_later([send=msg.send_later()] { send.reply("content"); }); which is equivalent to: run_this_lambda_later([&msg] { msg.send_reply("content"); }); except that it works properly even if the lambda is invoked beyond the lifetime of `msg`. |
||
---|---|---|
.. | ||
address.cpp | ||
address.h | ||
auth.cpp | ||
auth.h | ||
base32z.h | ||
base64.h | ||
batch.h | ||
bt_serialize.cpp | ||
bt_serialize.h | ||
bt_value.h | ||
byte_type.h | ||
connections.cpp | ||
connections.h | ||
hex.h | ||
jobs.cpp | ||
message.h | ||
oxenmq-internal.h | ||
oxenmq.cpp | ||
oxenmq.h | ||
proxy.cpp | ||
variant.h | ||
version.h.in | ||
worker.cpp |