Roblox API Reference

TaskScheduler On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (4)

Type Member History
double SchedulerDutyCycle
double SchedulerRate
ThreadPoolConfig ThreadPoolConfig
int ThreadPoolSize
57 members inherited from Instance

Removed member index (12)

Type Member History
bool AreArbitersThrottled 336
bool BudgetEnforced 51
ConcurrencyModel Concurrency 336
double NumRunningJobs 337
double NumSleepingJobs 337
double NumWaitingJobs 337
PriorityMethod PriorityMethod 336
SleepAdjustMethod SleepAdjustMethod 336
double ThreadAffinity 337
double ThrottledJobSleepTime 336
void AddDummyJob (bool exclusive = true, double fps = 30) 310
void SetThreadShare (double timeSlice, int numShare) 48 310

History

Members

SchedulerDutyCycle On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

SchedulerRate On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

ThreadPoolConfig On DevHub

ThreadPoolSize On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

Removed members

AddDummyJob

Name Type Default
exclusive bool true
fps double 30

History

AreArbitersThrottled

History

BudgetEnforced

History

Concurrency

History

NumRunningJobs

This property is read-only. Its value can be read, but it cannot be modified.

History

Tags: [ReadOnly]

NumSleepingJobs

This property is read-only. Its value can be read, but it cannot be modified.

History

Tags: [ReadOnly]

NumWaitingJobs

This property is read-only. Its value can be read, but it cannot be modified.

History

Tags: [ReadOnly]

PriorityMethod

History

SetThreadShare

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
timeSlice double none
numShare int none

History

Tags: [Deprecated]

SleepAdjustMethod

History

ThreadAffinity

This property is read-only. Its value can be read, but it cannot be modified.

History

Tags: [ReadOnly]

ThrottledJobSleepTime

History

Relevant enums (1)