LegacyReader – backwards compatible Reader¶
v0.5.0we dropped support for “tasks” in the
nsq.ReaderAPI in favor of a single message handler.
LegacyReaderis a backwards compatible API for clients interacting with
v0.5.0+that want to continue to use “tasks”.
from nsq import LegacyReader as Reader