rbxts-flamework / core

Flamework is an extensible game framework. It requires typescript and offers many useful features.
MIT License
101 stars 8 forks source link

Ability to wait for a component to exist on an instance #73

Closed OutOfBears closed 1 year ago

OutOfBears commented 1 year ago

Currently there is no way to tell when a component starts on an object, it'd be nice to have such functionality and have a method that returns a promise which resolves potentially when a component starts for a specific instance. Such functionality can be found in similar frameworks like Knit