Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

refactor: convert dag API to async/await #2664

Merged
merged 2 commits into from
Dec 16, 2019

Conversation

alanshaw
Copy link
Member

⚠️ Note: this will be merged into #2660 since it depends on the pin API.

In the future we might need a DAGService like go-ipfs to break the circular dependency.

TODO: fix in ipfs-http-client ipfs-inactive/js-ipfs-http-client#1183 - BREAKING CHANGE: dag.resolve and dag.tree now return an async iterable

Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit but otherwise LGTM 👍

src/core/components/dag/put.js Show resolved Hide resolved
@alanshaw alanshaw merged commit a482044 into refactor/block-and-pin-async-await Dec 16, 2019
@alanshaw alanshaw deleted the refactor/dag-async-await branch December 16, 2019 21:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants