Class ForegroundTaskSchedulerService
The service used to execute enqueued tasks in the Evergine thread.
Inheritance
ForegroundTaskSchedulerService
  Implements
Inherited Members
Namespace: Evergine.Framework.Services
Assembly: Evergine.Framework.dll
Syntax
public class ForegroundTaskSchedulerService : UpdatableService, IDependencyObject
  Remarks
This service is used by ForegroundTaskScheduler. If an user want to enqueue a task must use ForegroundTaskScheduler.
Methods
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
  Returns
| Type | Description | 
|---|---|
| bool | True if all is OK.  | 
      
Overrides
Update(TimeSpan)
Execute the pending tasks in the ForegroundTaskScheduler.
Declaration
public override void Update(TimeSpan gameTime)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TimeSpan | gameTime | The elapsed game time since the last update.  |