[PR #29] [MERGED] Improvement: api event emitter #30

Closed
opened 2026-05-23 08:36:58 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase-core/pull/29
Author: @appy-one
Created: 1/1/2023
Status: Merged
Merged: 2/13/2023
Merged by: @appy-one

Base: masterHead: improvement/api-event-emitter


📝 Commits (2)

  • 712fa65 let Api inherit from SimpleEventEmitter
  • 5b00165 new pipe methods to forward events

📊 Changes

2 files changed (+15 additions, -3 deletions)

View changed files

📝 src/api.ts (+5 -3)
📝 src/simple-event-emitter.ts (+10 -0)

📄 Description

Allows AceBase async db open/create functionality to bubble events up, needed for errors and good for ready event handling (which currently uses callback)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase-core/pull/29 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 1/1/2023 **Status:** ✅ Merged **Merged:** 2/13/2023 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `improvement/api-event-emitter` --- ### 📝 Commits (2) - [`712fa65`](https://github.com/appy-one/acebase-core/commit/712fa6533bc09bec9e09a99abd5cf44056bcaecb) let `Api` inherit from `SimpleEventEmitter` - [`5b00165`](https://github.com/appy-one/acebase-core/commit/5b001656995e5b0b7f95f6d1de1f96113e0721ab) new `pipe` methods to forward events ### 📊 Changes **2 files changed** (+15 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/api.ts` (+5 -3) 📝 `src/simple-event-emitter.ts` (+10 -0) </details> ### 📄 Description Allows AceBase async db open/create functionality to bubble events up, needed for errors and good for ready event handling (which currently uses callback) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:36:58 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: github-starred/acebase-core#30
No description provided.