Skip to main content

Introduction

Welcome

Hello and welcome to using NodeSignals! NodeSignals is a Node.js Signal Implementation designed to be close in usage to Roblox's Signals.

How do I use them?

To start using NodeSignals, first import or require the module.

// TS

import { NodeSignal } from "nodesignals"

// JS

const { NodeSignal } = require("nodesignals")

From there you can create a new NodeSignal, like so.

const Signal = new NodeSignal()

To listen to an event you can do the following.

Signal.Connect((/*Args Go Here*/) => {

})

To fire the above event you can just simply do the following.

Signal.Fire(/*Args Go Here*/)