Salesforce interview question

what is a __block decorator added to a function API?

Interview Answer

Anonymous

23 May 2016

It’s a storage class and is designed for variables that are going to be “created” inside the block so memory can be allocated appropriately for use inside the block.