Browse Source

feat: 设置template

es6
iapyang 3 years ago
parent
commit
34050827bf
  1. 0
      bin/cli/worker/template/action_type.ts
  2. 5
      bin/cli/worker/template/main_thread_template.ts
  3. 5
      bin/cli/worker/template/worker_thread_template.ts

0
bin/cli/worker/template/action_type.ts

5
bin/cli/worker/template/main_thread_template.ts

@ -0,0 +1,5 @@
class CrudMainTreadWorker extends BI.Workers.MainThreadWorker {
protected initActions(): void {
// to init some actions
}
}

5
bin/cli/worker/template/worker_thread_template.ts

@ -0,0 +1,5 @@
class CrudWorkerTreadWorker extends BI.Workers.MainThreadWorker {
protected initActions(): void {
// to init some actions
}
}
Loading…
Cancel
Save