ExecutionGroup
Groups scripts into an execution context with serial or parallel scheduling.
- Creatable
Instance.new("ExecutionGroup")- Inherits
- Instance
- Replication
- Standard
Behavior
ExecutionGroup groups scripts into an execution context with serial or parallel scheduling.
Summary
Whether scripts in this group use serial or parallel scheduling.
Returns this instance if it is an ExecutionGroup.
Returns the script instances available through this script binding.
Posts arguments to a named topic in this group.
Registers a serial handler for the topic and returns an AstScriptConnection.
Registers a parallel handler for the topic and returns an AstScriptConnection.
Properties
ExecutionMode
ExecutionGroup.ExecutionMode: Enum.ExecutionMode = Enum.ExecutionMode.SerialWhether scripts in this group use serial or parallel scheduling. Parallel entry points require Enum.ExecutionMode.Parallel.
Methods
GetExecutionGroup
ExecutionGroup:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
GetScripts
ExecutionGroup:GetScripts(): tableReturns the script instances available through this script binding.
Message
ExecutionGroup:Message(topic: string, args: ...any): ()Posts arguments to a named topic in this group. Arguments must be supported shared values. Delivery is queued.
OnMessage
ExecutionGroup:OnMessage(string, function): AstScriptConnectionRegisters a serial handler for the topic and returns an AstScriptConnection. The topic must be a nonempty string.
OnMessageParallel
ExecutionGroup:OnMessageParallel(string, function): AstScriptConnectionRegisters a parallel handler for the topic and returns an AstScriptConnection. Requires a parallel ExecutionGroup.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying