Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Rewrote Failsafe note to clarify #1101

Open
wants to merge 1 commit into
base: source
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/pages/docs/api/extensions/extensions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Parameter | Type | Description
callback | ([Result: UpdateExtensionResult](#updateextensionresult-object) => void | Result of the request |

#### `failsafe` note
The update has a failsafe mechanism while the game is active, making sure automatic updates won't happen during play only if a user action is detected, like pressing a button, for example.
The update has a failsafe mechanism while any game is active, which makes sure no updates are downloaded automatically whilst the user is playing. Only if the updateExtension() is called through a user action, like pressing a button for example, does it force the download.

## checkForExtensionUpdate(callback)
#### Version added: 0.135
Expand Down