F3XTeam / RBX-Try-Library

A library for controlling the flow of error-prone, interdependent functions.
12 stars 3 forks source link

TryLibrary's internal function calls are inefficient #3

Closed Validark closed 5 years ago

Validark commented 7 years ago

function Catch internally calls Try, as does function Retry

Perhaps they should transform the Attempt currently open instead of generating a new Attempt? Just seems wasteful to me.

One Try call from the user should create one Attempt.

GigsD4X commented 7 years ago

I agree, this was definitely very inconsistent and unpredictable. Just pushed 736af3be622eade2b0e7034d731f79c19f87fe08 to deal with these issues, let me know if you think this solves this 👍