method TracerHost.activate TracerHost.activate<T>(span: unknown,fn: () => Promise<T>): Promise<T> Runs work with the supplied span as the active OTel span, when supported. Type Parameters T Parameters span: unknown fn: () => Promise<T> Return Type Promise<T>