Tomorrowland v0.5.1 Release Notes

Release Date: 2019-04-07 // about 5 years ago

    ๐Ÿš€ When chaining multiple .main context blocks in the same runloop pass, ensure we release each block before executing the next one.

    ๐Ÿš€ Ensure that if a user-supplied callback is invoked, it is also released on the context where it was invoked (#38).

    ๐Ÿš€ This guarantee is only made for callbacks that are invoked (ignoring tokens). What this means is when using e.g. .then(on:_:) if the promise is fulfilled, the onSuccess block will be released on the provided context, but if the promise is rejected no such guarantee is made. If you rely on the context it's released on (e.g. it captures an object that must deallocate on the main thread) then you can use .always or one of the mapResult variants.