osu/osu.Game/Database
Dean Herbert 2423bbb776
Ensure realm subscriptions always fire initial callback with null ChangeSet
We expect this to be the case, but it turns out that it [may be
coalesced](https://www.mongodb.com/docs/realm-sdks/dotnet/latest/reference/Realms.IRealmCollection-1.html#Realms_IRealmCollection_1_SubscribeForNotifications_Realms_NotificationCallbackDelegate__0__Realms_KeyPathsCollection_):

> Notifications are delivered via the standard event loop, and so can't
> be delivered while the event loop is blocked by other activity. When
> notifications can't be delivered instantly, multiple notifications may
> be coalesced into a single notification. This can include the
> notification with the initial collection.

Rather than struggle with handling this locally every time, let's fix
the callback at our end to ensure we receive the initial null case.

I've raised concern for the API being a bit silly with realm
(https://github.com/realm/realm-dotnet/issues/3641).
2024-07-09 15:47:43 +09:00
..
BackgroundDataStoreProcessor.cs Merge pull request #27866 from Joehuu/fix-online-score-export 2024-04-23 09:08:04 +02:00
BeatmapExporter.cs Change .olz to use UTF-8 encoding 2024-04-30 21:40:04 +08:00
BeatmapLookupCache.cs
EmptyRealmSet.cs Revert "Temporary rollback of framework / SDL3" 2024-05-22 16:29:39 +08:00
ICanAcceptFiles.cs
IHasFiles.cs
IHasGuidPrimaryKey.cs
IHasNamedFiles.cs
IHasOnlineID.cs
IHasPrimaryKey.cs
IHasRealmFiles.cs Remove IScoreInfo : IHasNamedFiles inheritance 2023-10-26 14:58:33 +02:00
IModelDownloader.cs
IModelFileManager.cs
IModelImporter.cs
IModelManager.cs
ImportParameters.cs Fix skin editor freezing game if opened during active gameplay 2023-10-27 14:34:30 +02:00
ImportProgressNotification.cs
ImportTask.cs Bring back disposal of stream after copy-out to MemoryStream 2023-09-14 19:36:35 +02:00
INamedFile.cs
INamedFileInfo.cs
INamedFileUsage.cs
IPostNotifications.cs
ISoftDelete.cs
LegacyArchiveExporter.cs Fix formatting 2024-04-30 21:47:03 +08:00
LegacyBeatmapExporter.cs Truncate break times for legacy beatmap export 2024-06-26 16:20:56 +09:00
LegacyBeatmapImporter.cs Fix legacy beatmap importer not always handling nested paths correctly 2023-10-03 16:01:17 +09:00
LegacyCollectionImporter.cs
LegacyExporter.cs
LegacyImportManager.cs Update HasFlag usages 2024-07-03 00:19:04 +09:00
LegacyModelImporter.cs
LegacyScoreExporter.cs
LegacyScoreImporter.cs
LegacySkinExporter.cs
LegacySkinImporter.cs
Live.cs
MemoryCachingComponent.cs
MissingBeatmapNotification.cs Fix notification text sets overwriting each other 2023-09-19 11:12:58 +02:00
ModelDownloader.cs
ModelManager.cs Add feedback to delete button even when no-op 2024-02-18 21:52:23 -08:00
OnlineLookupCache.cs
RealmAccess.cs Update HasFlag usages 2024-07-03 00:19:04 +09:00
RealmArchiveModelImporter.cs Remove unused method 2024-04-29 18:48:07 +08:00
RealmExtensions.cs Fill out xmldoc and adjust inline commentary 2023-08-16 09:40:46 +02:00
RealmFileStore.cs Reference property via nameof rather than hardcoding 2024-01-09 11:49:42 +01:00
RealmLive.cs Add helper method for safer realm Find<T> 2023-08-16 15:37:09 +09:00
RealmLiveUnmanaged.cs
RealmObjectExtensions.cs Ensure realm subscriptions always fire initial callback with null ChangeSet 2024-07-09 15:47:43 +09:00
StandardisedScoreMigrationTools.cs Compute total score without mods during standardised score conversion 2024-05-21 13:11:08 +02:00
TooManyDownloadsNotification.cs
UserLookupCache.cs