1.0.0-beta.18 • Published 3 years ago

@p2pmodels/connect-round-robin v1.0.0-beta.18

Weekly downloads
1
License
LGPL-3.0-or-later
Repository
-
Last release
3 years ago

The Graph Connector for Round Robin

Connector for the Task Allocation Round Robin model prototype.

Usage

  const org = await connect(ORG_ADDRESS, 'thegraph', { network: 4 })

  const roundRobinApp = await org.app('ta-round-robin')

  const roundRobinConnector = await createAppConnector(roundRobinApp)

  const proposals = await roundRobinConnector.tasksForUser(<userId>, <status>, { first: <first>, skip: <skip> })