-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
I want to test (server side) a package, that auto-publishes data to the user. The publication scheme it uses therefore is
Metepr.publish(null, function(){...})
which adds the publication to the universal_publish_handlers
instead of publish_handlers
, as taken from the code.
When calling the collector.collect(null, ...);
then of course I get an error, because it uses publish_handlers[name]
and not universal_publish_handlers
when no name is provided.
Does it make sense to add this feature? I could try to provide a PR with an implementation and some tests, if desired.