Skip to content

Rename AsyncCacheCell to TaskCell #432

@bartelink

Description

@bartelink

I feel emphasizing that its a cell that manages a single in flight Task is better served by this name, i.e.:

  • yes it caches, but handles expiration too
  • half the point is that it doesn't cache failures
  • it is mainly Task based (though it supports Async)

But...

  • it uses an AsyncLazy internally, and is arguably an extension to that, which might suggest AsyncLazyCell as a better name
  • maybe AsyncLazy should also be renamed to LazyTask given how it deviates from the original AsyncLazy?

cc @eiriktsarpalis @nordfjord

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions