mirror of
https://github.com/ppy/osu
synced 2024-12-23 15:22:37 +00:00
a32f5d44e2
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
21 lines
531 B
C#
21 lines
531 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using Realms;
|
|
|
|
namespace osu.Game.Database
|
|
{
|
|
public interface IRealmFactory
|
|
{
|
|
/// <summary>
|
|
/// The main realm context, bound to the update thread.
|
|
/// </summary>
|
|
Realm Context { get; }
|
|
|
|
/// <summary>
|
|
/// Create a new realm context for use on the current thread.
|
|
/// </summary>
|
|
Realm CreateContext();
|
|
}
|
|
}
|