async attribute converters #3687
pragmasoft-ua
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I think @lit-labs/task is a much better way to handle this. There are all kinds of considerations, like failure states and race conditions, that Task already takes care of. I'm working on lit.dev docs for Task right now. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I propose to enhance attribute converters to support async methods.
One use case I have is having a properly of type File with an attribute src accepting URL. To convert URL to file with a fetch, I need an async converter support.
Beta Was this translation helpful? Give feedback.
All reactions