Issue Task Closed

#102308Migrate icon-element to @lit/task

Benjamin Franzke 11/03/23, 07:57 updated 01/30/24, 08:30

Description

lit/task graduated from a 2-year lit-labs phase, to an officially
supported helper library for lit elements. We want to start using it
as it embraces a tri-state model for async operations:

  • pending
  • success
  • error

…which is important in order to always handle error cases instead of
silently ignoring them. Also existing or currently running requests are
aborted and/or ignored when a newer state has already been activated.

Reviews 2