Broadcasting
Broadcasting sends realtime frontend events through Laravel broadcasting.
Enable it when the configured broadcast driver is Reverb:
qore()->setIsBroadcastingEnabled(config('broadcasting.default') === 'reverb');
Common methods:
reloadNode($channel): reloads a frontend node listening to that channel.reloadResourceIndex($resourceName): reloads a resource index table.reloadResourceDetail($resourceName, $modelId): reloads a resource detail page.notify($notification): pushes a notification event.showToast($userId, $title, $type, $body): pushes a toast event.
Use broadcasting when another request or worker changes data that is already visible in the UI.