Skip to content

Releases: RBLXUtils/FastSignal

Add return type to `:Connect` (ScriptConnection) and Maid/Janitor compatibility

12 Oct 20:27
b367c02
Compare
Choose a tag to compare
  • :Connect now explicitly has ScriptConnection as it's return type.
  • ScriptConnection now has :Destroy for Maid / Janitor compatibility. It points to :Disconnect, when calling it yourself, use :Disconnect.

Fixed Signal inconsistency + Added "Adaptive" Signal

11 Oct 00:27
513b983
Compare
Choose a tag to compare
  • Fixed an issue where the :Fire call did not act like RBXScriptSignals THIS IS NOT A PROBLEM ON DEFERRED BEHAVIOUR! I did implement in all versions, but that's why I didn't notice it.

  • Added Adaptive Signal, a version of FastSignal which detects whether your game is on deferred behaviour or not, and behaving like it would it if was a BindableEvent.

  • Last minute fix: Fixed :DisconnectAll

Alternatives to Deferred behaviour + changes

10 Oct 03:24
e4b6ecb
Compare
Choose a tag to compare
  • Removed :ConnectParallel temporarily
  • Added :ConnectOnce which connects a handle only once! It can only run in the next :Fire call.

Now when downloading FSignal, you'll see two 3 versions, the main one, and SimpleDeferred and Immediate. If you want a normal Signal, use the last 2 ones. These don't include a :__call method, names, erroring in :Disconnect, and some other things.

Better auto complete + small internal changes!

15 Sep 00:18
5bb7230
Compare
Choose a tag to compare

You should now be able to get auto completion for events basically everywhere! FastSignal now has types, and because of that, you can see auto completion of things like :Disconnect, .Connected, and all signal members!

This also means, that if you update your library with this signal library, you should see events under certain classes also have this!

Fixed release bug

31 Aug 07:49
b9b4e71
Compare
Choose a tag to compare
5.4.1

Update Signal.lua

Optimizations

31 Aug 07:46
e384234
Compare
Choose a tag to compare
5.4.0

Update Signal.lua

Fixed :DisconnectAll never stopping

22 Aug 00:16
e060226
Compare
Choose a tag to compare
5.3.5

Update Signal.lua

Names + :__tostring readded!

18 Aug 02:32
ae9a0fe
Compare
Choose a tag to compare

You can now use signal names like when they had them!

  • Signal:SetName
  • Signal:GetName
  • Added TOSTRING_ENABLED variable which decides if there is a :__tostring method.

Now when you print a Signal, it won't print its private contents, but instead "Signal ".. SignalName! Same as Roblox's ScriptSignals!

Added proper cleanage of disconnected connections

17 Aug 00:25
be52086
Compare
Choose a tag to compare

Now, having a reference to a connection doesn't leak the function, or other connections from it. This is a great improvement, that makes it closer to a RBXScriptSignal!

Just some small changes

15 Aug 20:57
1488ccc
Compare
Choose a tag to compare
  • :Wait is faster and has a more dedicated integration with connections;
  • Micro optimization localizing task, and coroutine libraries, I know this doesn't change much speed wise, I kind of just like the syntax for some reason, and it doesn't hurt, so /shrug.