Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

setCallbackWhenCompleted は on('completed') に置き換える #26

Open
h-matsuo opened this issue May 12, 2018 · 0 comments
Open

setCallbackWhenCompleted は on('completed') に置き換える #26

h-matsuo opened this issue May 12, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@h-matsuo
Copy link
Owner

h-matsuo commented May 12, 2018

WHY

ほとんどのフレームワークでは EventEmitter を使っている。
いまの Madoop の API はオレオレでダサい。

WHAT

madoop.once('completed', result => { ... } ); のような形で使えるようにする。

参考:Node書くならEventEmitterについて知っとくべし

@h-matsuo h-matsuo added the enhancement New feature or request label May 12, 2018
@h-matsuo h-matsuo self-assigned this May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant