Limits.getFutureCalls();
-- Returns the number of methods with the future
annotation that have been executed (not necessarily
completed) in the current context.
Limits.getLimitFutureCalls();
-- Returns the total number of methods with the future
annotation that can be executed (not necessarily
completed) in the current context.
Limits.getFutureCalls(); -- Returns the number of methods with the future annotation that have been executed (not necessarily completed) in the current context. Limits.getLimitFutureCalls(); -- Returns the total number of methods with the future annotation that can be executed (not necessarily completed) in the current context.