# ISYS\_MessageBusTask interface

消息总线任务

## Signature

```typescript
interface ISYS_MessageBusTask 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[cancel](./ISYS_MessageBusTask.md)


</td><td>


</td><td>

() =&gt; void


</td><td>

调用以取消任务


</td></tr>
<tr><td>

[execute](./ISYS_MessageBusTask.md)


</td><td>


</td><td>

(message: any) =&gt; Promise&lt;void&gt;


</td><td>

任务处理


</td></tr>
<tr><td>

[running](./ISYS_MessageBusTask.md)


</td><td>


</td><td>

() =&gt; boolean


</td><td>

检查运行状态


</td></tr>
</tbody></table>

---

## 属性详情

### cancel

# ISYS\_MessageBusTask.cancel property

调用以取消任务

## Signature

```typescript
cancel: () => void;
```

### execute

# ISYS\_MessageBusTask.execute property

任务处理

## Signature

```typescript
execute: (message: any) => Promise<void>;
```

### running

# ISYS\_MessageBusTask.running property

检查运行状态

## Signature

```typescript
running: () => boolean;
```
