Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How would you approach awaiting an existing eventhandler? #530

Answered by neuecc
JamesYFC asked this question in Q&A
Discussion options

Let's say I had an existing EventHandler

Is it possible to await until a certain value is spat out by the EventHandler?
And is it possible to do so without changes to the function where EventHandler gets invoked?

You must be logged in to vote

wrap with UniTaskCompletionSource.

Replies: 1 comment

Comment options

wrap with UniTaskCompletionSource.

You must be logged in to vote
0 replies
Answer selected by JamesYFC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /