Part of lp.services.longpoll
|Class||LoggingRouter||A test double for
|Function||capture_longpoll_emissions||Capture longpoll emissions while this context is in force.|
This returns a list in which
LongPollEventRecord tuples will be
recorded, in the order they're emitted.
Note that normal event emission is suppressed globally while this context is in force; all events will be stored in the log.