An open API service indexing awesome lists of open source software.

https://github.com/b0nn133/promisedsignal

A RBXScriptSignal Implementation with Promise.
https://github.com/b0nn133/promisedsignal

asynchronous lua luau promise rbxscriptsignal roblox simple

Last synced: 5 months ago
JSON representation

A RBXScriptSignal Implementation with Promise.

Awesome Lists containing this project

README

          

# PromisedSignal
An implementation of RBXScriptSignal with Promise.

**Why PromisedSignal?**
* Asynchronous Connections
* Performs almost all the functions that RBXScriptSignal does
* Simple and comfortable

**How to use it?**
```luau
local PromisedSignal = require(game.Path.To.PromisedSignal)
local HelloPlayer = PromisedSignal.new()

HelloPlayer:Connect(function(Player)
print("Hello, " .. Player.Name .. "!")
end)

game.Players.PlayerAdded:Connect(function(Player)
HelloPlayer:FireAsync(Player)
end)
```

**Download**\
[GitHub](https://github.com/realbxnnie/PromisedSignal/releases)\
[Roblox](https://create.roblox.com/store/asset/74983621869370)

_Inspired by stravant's GoodSignal._