You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, module calculations using calculate/3 take a list of records, and return a list of results. However, if you use an anonymous function, you take a single record and return a single result. This is confusing.
We should consider changing this behavior in 3.0.
The text was updated successfully, but these errors were encountered:
…plement `Drop` (ash-project#625)
Ash doesn't implement `Drop` intentionally, to not be too opinionated
about holding (heap) references to their parent objects
(`Device`->`Instance`->`Entry`) and ensuring they are destroyed in the
right order. As such, reword the `create` documentation for `Instance`
and `Device` to mention their respective `destroy_*` function instead of
referring to them as being "droppable".
Note that `Entry` is droppable as it does not have a Vulkan `destroy`
function _and_ the dynamically loaded library (behind the "loaded"
feature) is kept alive only for the lifetime of `Entry`.
At the moment, module calculations using
calculate/3
take a list of records, and return a list of results. However, if you use an anonymous function, you take a single record and return a single result. This is confusing.We should consider changing this behavior in 3.0.
The text was updated successfully, but these errors were encountered: