File tree Expand file tree Collapse file tree 6 files changed +332
-110
lines changed Expand file tree Collapse file tree 6 files changed +332
-110
lines changed Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 149149 < td > Client</ td >
150150 < td align ="right " data-sort ="100 ">
151151 < span class ="coverage-percent "> 100 %</ span >
152- < span class ="coverage-count "> (45/45 )</ span >
152+ < span class ="coverage-count "> (47/47 )</ span >
153153 </ td >
154154 </ tr >
155155 < tr class ="very-good ">
161161 < td > CompatClient</ td >
162162 < td align ="right " data-sort ="100 ">
163163 < span class ="coverage-percent "> 100 %</ span >
164- < span class ="coverage-count "> (48/48 )</ span >
164+ < span class ="coverage-count "> (50/50 )</ span >
165165 </ td >
166166 </ tr >
167167 < tr class ="very-good ">
Original file line number Diff line number Diff line change @@ -385,6 +385,13 @@ <h3 id="inputs">Properties</h3>
385385 */
386386export type frameCallbackType = ((frame: IFrame) => void) | (() => void);
387387
388+ /**
389+ * This callback is an "Event" only callback, no parameters provided.
390+ *
391+ * Part of `@stomp/stompjs`.
392+ */
393+ export type emptyCallbackType = () => void;
394+
388395/**
389396 * This callback will receive a [CloseEvent]{@link https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent}
390397 * as parameter.
@@ -560,6 +567,8 @@ <h3 id="inputs">Properties</h3>
560567 onUnhandledMessage: messageCallbackType;
561568 onUnhandledReceipt: frameCallbackType;
562569 onUnhandledFrame: frameCallbackType;
570+ onHeartbeatReceived: emptyCallbackType;
571+ onHeartbeatLost: emptyCallbackType;
563572}
564573</ code > </ pre >
565574 </ div >
Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ <h3 id="index">Index</h3>
6767 < li >
6868 < a href ="#debugFnType " title ="consolidated/stompjs/src/types.ts " > < b > debugFnType</ b > (consolidated/.../types.ts)</ a >
6969 </ li >
70+ < li >
71+ < a href ="#emptyCallbackType " title ="consolidated/stompjs/src/types.ts " > < b > emptyCallbackType</ b > (consolidated/.../types.ts)</ a >
72+ </ li >
7073 < li >
7174 < a href ="#Frame " title ="consolidated/stompjs/src/i-frame.ts " > < b > Frame</ b > (consolidated/.../i-frame.ts)</ a >
7275 </ li >
@@ -133,6 +136,29 @@ <h3>consolidated/stompjs/src/types.ts</h3>
133136 < td class ="col-md-4 ">
134137 < div class ="io-description "> < p > This callback will receive a < code > string</ code > as a parameter.</ p >
135138< p > Part of < code > @stomp/stompjs</ code > .</ p >
139+ </ div >
140+ </ td >
141+ </ tr >
142+ < tr >
143+ < td class ="col-md-4 ">
144+ < code > < code > < a href ="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function " target ="_blank " > function</ a > </ code >
145+ </ code >
146+ </ td >
147+ </ tr >
148+ </ tbody >
149+ </ table >
150+ < table class ="table table-sm table-bordered ">
151+ < tbody >
152+ < tr >
153+ < td class ="col-md-4 ">
154+ < a name ="emptyCallbackType "> </ a >
155+ < span class ="name "> < b > emptyCallbackType</ b > < a href ="#emptyCallbackType "> < span class ="icon ion-ios-link "> </ span > </ a > </ span >
156+ </ td >
157+ </ tr >
158+ < tr >
159+ < td class ="col-md-4 ">
160+ < div class ="io-description "> < p > This callback is an "Event" only callback, no parameters provided.</ p >
161+ < p > Part of < code > @stomp/stompjs</ code > .</ p >
136162</ div >
137163 </ td >
138164 </ tr >
You can’t perform that action at this time.
0 commit comments