1.1.4 • Published 1 year ago

@rbxts/bind v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@rbxts/bind

Utilities for binding functions to RBXScriptSignals (or similar) with a simple decorator, similar to @rbxts/proton's @Lifecycle decorator.

import { BindMethod, Bind } from "@rbxts/bind"
import { RunService } from "@rbxts/services"

export class WorldGeneration {
    @BindMethod(RunService.Heartbeat)
    public OnHeartbeat(DeltaTime: number) {
        // ...
    }

    constructor() {
        Bind.Activate(this)
    }
}
1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago