Skip to content

In some scenario you need to use WithPerceptionTracking inside the block. #21

Answered by stephencelis
alfredcc asked this question in Q&A
Discussion options

You must be logged in to vote

@alfredcc This is to be expected. WithPerceptionTracking is a synchronous call, and so if you hit an escaping closure that is executed later, it must also be instrumented with WithPerceptionTracking. If someone figures out a way around this we'd love to see it, but we don't think it's possible to do from outside SwiftUI.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@mbrandonw
Comment options

@PatrickDanino
Comment options

@tonyarnold
Comment options

@mbrandonw
Comment options

@tonyarnold
Comment options

Answer selected by alfredcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #20 on January 15, 2024 17:02.