Clears all entries from TracedFunction.calls. Async calls already in-flight will still append their entry once they settle. TraceCallInfo.callIndex is not reset.
ReadonlycallsAll recorded call entries, appended in settlement order after each call completes. For concurrent async calls use TraceCallInfo.callIndex to recover invocation order.
Note: async calls still in-flight when TracedFunction.clear is called will still append their entry here once they settle.
A wrapped function that behaves identically to the original but records every invocation. Created by traceFunction.