From the last time this was brought up:
FYI the preferred way to do this is to put the variable in the closure's capture list.
deinit {
Task { [uuid] in
doSomething(with: uuid)
}
}
From the last time this was brought up:
FYI the preferred way to do this is to put the variable in the closure's capture list.
deinit {
Task { [uuid] in
doSomething(with: uuid)
}
}