Skip to content

Commit

Permalink
feat: provide abstract class baseService
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Oct 22, 2020
1 parent 77f5fcd commit 5590dca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/services/baseService.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export abstract class BaseService {
/**
* Subscribe the service event
* @param name Event name
* @param callback Callback function
*/
public abstract subscribe(name: string | string [], callback: Function);
}

0 comments on commit 5590dca

Please sign in to comment.