Skip to content

Hypercore v1#5

Open
RangerMauve wants to merge 4 commits intomainfrom
hypercoreV1
Open

Hypercore v1#5
RangerMauve wants to merge 4 commits intomainfrom
hypercoreV1

Conversation

@RangerMauve
Copy link
Collaborator

Changes proposed in this pull request:

  • Makes feed / sync operations async
  • Adds new HypercoreMember and HypercoreFeed classes using hyper-sdk
  • Updates tests to use hypercores for replication
  • Fixed bugs that popped up due to timing changes

@consento-org/maintainer

@RangerMauve
Copy link
Collaborator Author

This should be ready to be looked at. Gonna get started on the general "Group" abstraction that will make it easy to spin up groups and control membership within them.

After that I'll put together an example using this tech.

id = randomBytes(8).toString('hex'),
initiator = id
initiator = id,
loadFeed = defaultFeedLoader
Copy link
Member

Choose a reason for hiding this comment

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

Looking over the code the name loadFeed has been sticking out to me: As a developer using this API: what am I supposed to do? In the current case its like getOrLoadFeed if I understand it correctly but I was wondering if maybe reqestFeed may be appropriate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants