Click or drag to resize

IMainThreadTaskScheduler Interface

An interface for an object that can behave as a TaskScheduler that invokes its tasks on the UI (main) thread of an application. Not applicable for all platforms, as some do not have main threads set up in a way that is usable (e.g. .NET Core)

Namespace:  Couchbase.Lite.DI
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public interface IMainThreadTaskScheduler

The IMainThreadTaskScheduler type exposes the following members.

Properties
  NameDescription
Public propertyIsMainThread
Gets if the currently executing thread is the main thread of the application
Top
Methods
  NameDescription
Public methodAsTaskScheduler
Returns the object as a TaskScheduler so that it can be used for various .NET framework methods
Top
See Also