Event subscriptions #117

Open
opened 2019-04-24 17:03:25 +00:00 by fsmanuel · 0 comments
fsmanuel commented 2019-04-24 17:03:25 +00:00 (Migrated from github.com)

I would like to propose a standardized event bus for contract events.

The API should look like this:

class Kredits

  // subscriptions = { Contract: [...Events] }
  subscribe(subscriptions, callback) {
  }

  get subscribable() {
    return { Contract: [...Events] };
  }

}
I would like to propose a standardized event bus for contract events. The API should look like this: ```js class Kredits // subscriptions = { Contract: [...Events] } subscribe(subscriptions, callback) { } get subscribable() { return { Contract: [...Events] }; } } ```
raucao added the
dev environment
idea
labels 2022-10-29 11:47:50 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kredits/contracts#117
No description provided.