Skip to content

[Tech Debt] Clean up fetch content with fallback  #40

@AmeanAsad

Description

@AmeanAsad
  • fetchContentWithFallback as 3 different fetching blocks that can be combined into 1.
  • We should create an async generator that yields the nodes. It would yield the CDN url then await the nodes list being loaded, then add the customer fallback origin in the end. That way we can combine the fetch blocks into 1 and iterate the nodes list without having to modify it mid loop.

Metadata

Metadata

Assignees

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