I'm reading about transactions, how do async transactions fit in to that concept?
For example, say I have a sync method with a bunch of DMLs, and at the very end there's a DML then it's followed by a future method. If the sync method fails at the last DML, then everything rolls back. Ok, what happens if it succeeds, and goes to the async method, which fails? I'd have to think in this case, the operations exectured in the sync method wouldn't be able to be rolled back... But I'm not sure what would and wouldn't be able to be rolled back within the async method.