Skip to content

Commit f2b7c8d

Browse files
fix minor typo and inaccessible link (#1095)
## Changes Adds missing period. Hardcoded the multithreading link; Not sure why the original leads to `https://prod.docsiteassets.roblox.com/scripting/multithreading.md`, which is inaccessible. ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate. --------- Co-authored-by: IgnisRBX <[email protected]>
1 parent b214bc7 commit f2b7c8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/en-us/projects/data-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ clients, which allows you to have secure, server-side logic.
241241
can use this container to store objects that you want to clone and parent to the
242242
workspace or other containers at runtime. For example, you can store large
243243
objects such as maps in this container until they are needed and move them into
244-
the workspace only when required This lets you decrease client network traffic
244+
the workspace only when required. This lets you decrease client network traffic
245245
on initial join.
246246

247247
<Alert severity="info">

content/en-us/scripting/multithreading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For most situations, you shouldn't put an actor as a child of another actor in t
3333

3434
### Desynchronize threads
3535

36-
Though putting scripts under actors grants them the capability for parallel execution, by default the code still runs on the single thread serially, which doesn't improve the runtime performance. You need to call the `Library.task.desynchronize()`, a yieldable function that suspends the execution of the current coroutine for running code in parallel and resumes it at the next parallel execution opportunity. To switch a script back to serial execution, call `Library.task.synchronize()`.
36+
Though putting scripts under actors grants them the capability for parallel execution, by default the code still runs on the single thread serially, which doesn't improve the runtime performance. You need to call `Library.task.desynchronize()`, a yieldable function that suspends the execution of the current coroutine for running code in parallel and resumes it at the next parallel execution opportunity. To switch a script back to serial execution, call `Library.task.synchronize()`.
3737

3838
Alternatively, you can use `Datatype.RBXScriptSignal:ConnectParallel()` method when you want to schedule a signal callback to immediately run your code in parallel upon triggering. You don't need to call `Library.task.desynchronize()` inside the signal callback.
3939

0 commit comments

Comments
 (0)