Home
last modified time | relevance | path

Searched refs:has_subscribers (Results 1 – 15 of 15) sorted by relevance

/dports/www/p5-Mojolicious/Mojolicious-9.22/t/mojo/
H A Deventemitter.t29 ok !$e->has_subscribers('foo'), 'no subscribers';
31 ok $e->has_subscribers('error'), 'has subscribers';
84 $e->once(one_time => sub { $once = shift->has_subscribers('one_time') });
120 ok !$e->has_subscribers('foo'), 'no subscribers';
123 ok $e->has_subscribers('foo'), 'has subscribers';
126 ok !$e->has_subscribers('foo'), 'no subscribers';
142 ok $e->has_subscribers('foo'), 'has subscribers';
143 ok !$e->unsubscribe('foo')->has_subscribers('foo'), 'no subscribers';
H A Dreactor_ev.t263 ok $reactor->has_subscribers('error'), 'has subscribers';
265 ok !$reactor->has_subscribers('error'), 'no subscribers';
H A Dreactor_poll.t261 ok $reactor->has_subscribers('error'), 'has subscribers';
263 ok !$reactor->has_subscribers('error'), 'no subscribers';
H A Dioloop.t159 ok !!Mojo::IOLoop->singleton->has_subscribers('finish'), 'has subscribers';
161 ok !Mojo::IOLoop->singleton->has_subscribers('finish'), 'no subscribers';
H A Duser_agent.t599 ok !$ua->has_subscribers('start'), 'unsubscribed successfully';
/dports/net/p5-POE-Component-PubSub/POE-Component-PubSub-0.091370/lib/POE/Component/
H A DPubSub.pm79 if(!$event->has_subscribers)
167 if($event->has_subscribers)
252 if($event->has_subscribers)
/dports/www/p5-Mojolicious/Mojolicious-9.22/lib/Mojo/Transaction/
H A DWebSocket.pm101 $self->emit(json => j($msg)) if $self->has_subscribers('json');
104 …$self->emit(message => $op == WS_TEXT ? decode 'UTF-8', $msg : $msg) if $self->has_subscribers('me…
/dports/net/p5-POE-Component-PubSub/POE-Component-PubSub-0.091370/lib/POE/Component/PubSub/
H A DEvent.pm38 has_subscribers => 'size',
/dports/www/p5-Mojolicious/Mojolicious-9.22/lib/Mojo/
H A DEventEmitter.pm25 sub has_subscribers { !!shift->{events}{shift()} } subroutine
/dports/www/p5-Mojo-Weixin/Mojo-Weixin-1.4.6/lib/Mojo/Weixin/Message/Remote/
H A D_upload_media.pm151 }) if !$msg->has_subscribers('_upload_media_chunk_over');
154 }) if !$msg->has_subscribers('_upload_media_chunk');;
/dports/devel/py-pyro/Pyro4-4.77/examples/messagebus/messagebus/
H A Dmessagebus.py174 def has_subscribers(self, topic): member in MemoryStorage
346 def has_subscribers(self, topic): member in SqliteStorage
423 if self.storage.has_pending_messages(topic) or self.storage.has_subscribers(topic):
/dports/www/p5-Mojolicious/Mojolicious-9.22/lib/Mojo/IOLoop/
H A DStream.pm43 return !!length($self->{buffer}) || $self->has_subscribers('drain');
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/dashboard/dashboard/
H A Dadd_histograms_queue.py261 has_subscribers = utils.IsMonitored(client, test.test_path)
262 if not has_subscribers:
/dports/deskutils/gnome-calendar/gnome-calendar-41.2/src/core/
H A Dgcal-timeline.c236 gboolean has_subscribers; in update_range() local
242 has_subscribers = g_hash_table_size (self->subscribers) > 0; in update_range()
244 if (has_subscribers) in update_range()
/dports/sysutils/watchman/watchman-4.5.0/
H A Droot.c1643 bool has_subscribers = false; in root_has_subscriptions() local
1655 has_subscribers = true; in root_has_subscriptions()
1660 } while (!has_subscribers && w_ht_next(clients, &iter)); in root_has_subscriptions()
1662 return has_subscribers; in root_has_subscriptions()