23 lines
642 B
TypeScript
23 lines
642 B
TypeScript
// Module ID: 10070
|
|
// Function ID: 10071
|
|
// Name: dispatcher
|
|
// Dependencies: [709, 2]
|
|
|
|
// Module 10070 (dispatcher)
|
|
import set from "set" /* 2 */;
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
|
|
const result = set.fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
|
|
|
|
export default {
|
|
enqueueNotification(buildResult) {
|
|
let obj = dispatcherDefault;
|
|
obj = { type: "ENQUEUE_IN_APP_NOTIFICATION", notification: buildResult };
|
|
obj.dispatch(obj);
|
|
},
|
|
clearNotification() {
|
|
dispatcherDefault.wait(() => {
|
|
callback(table[0]).dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
|
|
});
|
|
}
|
|
};
|