diff --git a/Modules/RSCore/Sources/RSCore/Shared/NotificationCenter+RSCore.swift b/Modules/RSCore/Sources/RSCore/Shared/NotificationCenter+RSCore.swift new file mode 100644 index 000000000..48d68feed --- /dev/null +++ b/Modules/RSCore/Sources/RSCore/Shared/NotificationCenter+RSCore.swift @@ -0,0 +1,17 @@ +// +// NotificationCenter+RSCore.swift +// RSCore +// +// Created by Brent Simmons on 11/9/25. +// + +import Foundation + +public extension NotificationCenter { + + func postOnMainThread(name: Notification.Name, object: Any?, userInfo: [AnyHashable : Any]? = nil) { + Task { @MainActor in + NotificationCenter.default.post(name: name, object: object, userInfo: userInfo) + } + } +}