mirror of
https://github.com/CompeyDev/rusty-luau.git
synced 2024-12-12 04:40:40 +00:00
Erica Marigold
f3b77f2575
Undoing experimental Roblox bundling support simply because I cannot maintain it. See branch roblox-support for the reverted version.
14 lines
411 B
Text
14 lines
411 B
Text
local luau = require("@lune/luau")
|
|
local fs = require("@lune/fs")
|
|
|
|
local SIGNAL_PATH = "Packages/_Index/ffrostflame_luausignal@0.2.4/luausignal/src/init.luau"
|
|
local _signal = require(SIGNAL_PATH)
|
|
export type Signal<T...> = _signal.luauSignal<T...>
|
|
local signal: {
|
|
new: <T...>() -> Signal<T...>,
|
|
} =
|
|
luau.load('local task = require("@lune/task")\n' .. fs.readFile(SIGNAL_PATH))()
|
|
|
|
return {
|
|
signal = signal,
|
|
}
|