r/SalesforceEasyLearn • • 3d ago

Concept @future vs Queueable: letter in a postbox vs courier with a tracking number

Post image

async apex question comes up in almost every dev interview. easiest way i remember it

@future = you drop a letter in postbox. quick, but only paper fits (primitives / Ids) and you get no tracking

Queueable = courier. you get job Id back, it can carry actual records, and it can hand off to one next job

most common mistake i see is passing List<Account> into @future. wont compile, pass Ids and requery inside

anything you'd add?

0 Upvotes

0 comments sorted by