Created
April 17, 2021 20:12
-
-
Save havremunken/5345483faf32c1adf0e1935440ce8936 to your computer and use it in GitHub Desktop.
Template for ember-concurrency issue #422
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{page-title "MyApp"}} | |
{{!-- The following component displays Ember's default welcome message. --}} | |
{{!-- Feel free to remove this! --}} | |
{{outlet}} | |
<p> | |
Type here. Put two characters in the input, then delete both, | |
with less than 250ms between deletes. The tasks apparently | |
never stops running. | |
</p> | |
<input | |
type="text" | |
{{on 'input' (perform this.updateFilter value='target.value')}} | |
/> | |
<p> | |
LastSuccessful.Value: {{this.updateFilter.lastSuccessful.value}} | |
</p> | |
If task is running, it will show below: | |
{{#if this.updateFilter.isRunning}} | |
<p> | |
Task is currently running! | |
</p> | |
{{/if}} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment