MCPcopy Create free account
hub / github.com/CommE2E/comm / dispatchSendReports

Method dispatchSendReports

lib/components/report-handler.react.js:63–71  ·  view source on GitHub ↗
(reports: $ReadOnlyArray<ClientReportCreationRequest>)

Source from the content-addressed store, hash-verified

61 }
62
63 dispatchSendReports(reports: $ReadOnlyArray<ClientReportCreationRequest>) {
64 if (reports.length === 0) {
65 return;
66 }
67 void this.props.dispatchActionPromise(
68 sendReportsActionTypes,
69 this.sendReports(reports),
70 );
71 }
72
73 async sendReports(
74 reports: $ReadOnlyArray<ClientReportCreationRequest>,

Callers 2

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95

Calls 1

sendReportsMethod · 0.95

Tested by

no test coverage detected