mirror of
https://github.com/AmberGraceRblx/luau-promise.git
synced 2025-04-24 23:50:03 +00:00
Update Tour.md
This commit is contained in:
parent
36b789e2b6
commit
6fb7ed746f
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ local myFunction()
|
|||
return Promise.new(function(resolve, reject, onCancel)
|
||||
local connection
|
||||
|
||||
someEvent:Connect(function(...)
|
||||
connection = someEvent:Connect(function(...)
|
||||
connection:Disconnect()
|
||||
resolve(...)
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue