decord/source/actions/native/InAppNotificationActionCreators.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

21 lines
656 B
TypeScript

// Module ID: 10225
// Function ID: 10226
// Name: InAppNotificationActionCreators
// Dependencies: [573, 2]
// Module 10225 (InAppNotificationActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
export default {
enqueueNotification(buildResult) {
DispatcherDefault.dispatch({ type: "ENQUEUE_IN_APP_NOTIFICATION", notification: buildResult });
},
clearNotification() {
DispatcherDefault.wait(() => {
DispatcherDefault.dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
});
}
};