MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / send

Method send

packages/sdks/react-native/index.ts:134–143  ·  view source on GitHub ↗
(payload: TrackHandlerPayload)

Source from the content-addressed store, hash-verified

132 }
133
134 async send(payload: TrackHandlerPayload) {
135 if (this.options.filter && !this.options.filter(payload)) {
136 return null;
137 }
138 if (!this.isOnline) {
139 this.addQueue(payload);
140 return null;
141 }
142 return await super.send(payload);
143 }
144
145 flush() {
146 if (!this.isOnline) {

Callers

nothing calls this directly

Calls 1

addQueueMethod · 0.95

Tested by

no test coverage detected