Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find hooks #51

Closed
s1hofmann opened this issue Mar 31, 2019 · 1 comment
Closed

find hooks #51

s1hofmann opened this issue Mar 31, 2019 · 1 comment
Assignees
Labels
feature New features

Comments

@s1hofmann
Copy link
Member

Short overview
Find hooks would allow to execute actions whenever a certain image if found on screen

Use case
When using a find hook it would be possible to provide a callback to handle e.g. pop-ups etc.
So before resolving possible hooks should be awaited.

Detailed feature description
A find hook should be registered using the search needle string passed to find.
Hooks have to implement the following signature: (target: MatchResult) => Promise<void>

Additional content

Please provide any (mandatory) additional data for your desired feature

@s1hofmann s1hofmann added the feature New features label Mar 31, 2019
@s1hofmann s1hofmann self-assigned this Mar 31, 2019
s1hofmann added a commit that referenced this issue Mar 31, 2019
s1hofmann added a commit that referenced this issue Mar 31, 2019
@s1hofmann
Copy link
Member Author

Closed by #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features
Projects
None yet
Development

No branches or pull requests

1 participant