You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
513 B
13 lines
513 B
2 years ago
|
// TODO: 这边需要先import fineui资源
|
||
|
import { WorkerAbilityTestWorkerThreadAction } from './action/action.worker_ability_test';
|
||
|
|
||
|
class ${WorkerName}WorkerTreadWorker extends BI.Workers.MainThreadWorker {
|
||
|
public communicationTest: WorkerAbilityTestWorkerThreadAction;
|
||
|
|
||
|
public initActions(): void {
|
||
|
this.communicationTest = this.createAction(WorkerAbilityTestWorkerThreadAction);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export const ${workerName}WorkerTreadWorker = BI.Workers.createWorker(${WorkerName}WorkerTreadWorker);
|