Forest Logo
search
package_2

signal

By @riverman56

Roblox

Mirrored

Signal

License Release CI CI

A bare-bones signal implementation with publish/subscribe functionality. This library was inspired by the signal implementation found in Roact.

Example

local Signal = require(path.to.Signal)

local signal = Signal.new()
signal:subscribe(function(message: string)
    print(message)
end)

signal:fire("Hello World!")
-- output: Hello World!

See the Signal API for more info

Installation

Install the Signal package through Wally.

Signal = "riverman56/signal@<version>"

Package Details

Install command (Click to copy)


Version

0.2.0

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.