Executes the given block while measuring the transaction.
Action/Task to be executed within this span.