mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
# This file is automatically generated. Please don't edit it manually.
|
|
# To submit a bug report on the content, see
|
|
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
|
|
|
name: ScriptContext
|
|
type: class
|
|
memory_category: Instances
|
|
summary: ''
|
|
description: |
|
|
This service controls all `Class.BaseScript` objects. Most of the properties
|
|
and methods of this service are locked for internal use.
|
|
code_samples: []
|
|
inherits:
|
|
- Instance
|
|
descendants: []
|
|
tags:
|
|
- NotCreatable
|
|
- Service
|
|
- NotReplicated
|
|
deprecation_message: ''
|
|
properties: []
|
|
methods:
|
|
- name: ScriptContext:SetTimeout
|
|
summary: |
|
|
Limits how long a script is allowed to run without yielding.
|
|
description: |
|
|
Limits how long a script is allowed to run without yielding.
|
|
code_samples: []
|
|
parameters:
|
|
- name: seconds
|
|
type: double
|
|
default:
|
|
summary: ''
|
|
returns:
|
|
- type: ()
|
|
summary: ''
|
|
tags: []
|
|
deprecation_message: ''
|
|
security: PluginSecurity
|
|
thread_safety: Unsafe
|
|
capabilities: []
|
|
events:
|
|
- name: ScriptContext.Error
|
|
summary: |
|
|
Fired when an error occurs.
|
|
description: |
|
|
Fired when an error occurs.
|
|
code_samples:
|
|
- ScriptContext-Error1
|
|
parameters:
|
|
- name: message
|
|
type: string
|
|
default:
|
|
summary: ''
|
|
- name: stackTrace
|
|
type: string
|
|
default:
|
|
summary: ''
|
|
- name: script
|
|
type: Instance
|
|
default:
|
|
summary: ''
|
|
tags: []
|
|
deprecation_message: ''
|
|
security: None
|
|
capabilities: []
|
|
callbacks: []
|