Skip to content

Binder is a class which handles callbacks which need to be called in a certain order, which one with a custom priority. It shaped as a ScriptSignal class, except one with custom ordering.

License

Notifications You must be signed in to change notification settings

RBLXUtils/Binder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Binder

Binder is a class which handles callbacks which need to be called in a certain order, which one with a custom priority. It shaped as a ScriptSignal class, except one with custom ordering.

Warning

Binder is a preview, Binder is still in beta! Anything might change, method names, behaviour, consistency, and things like going from deferred to immediate behaviour instead.

As binder is currently using an array for its bindings, as doing the same with a linked-list was proven to be hard, this might change at any time, allowing for safe immediate firing instead, and faster / less expensive :Bind and :Unbind calls, by not needing array elements to be shifted.

Contributions helping to achieve these goals are very welcome!

About

Binder is a class which handles callbacks which need to be called in a certain order, which one with a custom priority. It shaped as a ScriptSignal class, except one with custom ordering.

Topics

Resources

License

Stars

Watchers

Forks

Languages