MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update /

Class

harmony/pushy/src/main/ets/EventHub.ts:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1type EventCallback = (data: any) => void;
2
3export class EventHub {
4 private static instance: EventHub;
5 private listeners: Map<string, Set<EventCallback>>;
6 private rnInstance: any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected