12 lines
353 B
C#
12 lines
353 B
C#
using Speckle.InterfaceGenerator;
|
|
using Speckle.Sdk;
|
|
using Speckle.Sdk.Host;
|
|
|
|
namespace Speckle.Connectors.Common.Threading;
|
|
|
|
[GenerateAutoInterface]
|
|
public class ThreadOptions(ISpeckleApplication speckleApplication) : IThreadOptions
|
|
{
|
|
public bool RunReceiveBuildOnMainThread => speckleApplication.HostApplication != HostApplications.Rhino.Name;
|
|
}
|