[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [flow/contracts/src](../README.md) / trashTaskAndGetReadyLinkedTaskIds

# Function: trashTaskAndGetReadyLinkedTaskIds()

> **trashTaskAndGetReadyLinkedTaskIds**(`board`, `taskId`, `now?`): [`RuntimeTrashTaskResult`](../interfaces/RuntimeTrashTaskResult.md)

Defined in: [flow/product/src/kanban-adapter/task-board-mutations.ts:598](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/product/src/kanban-adapter/task-board-mutations.ts#L598)

Moves a task to Done and returns linked backlog tasks that should be promoted as ready.

## Parameters

### board

#### columns

`object`[] = `...`

#### dependencies

`object`[] = `...`

#### workTypeRegistry

`RuntimeWorkTypeRegistry` = `runtimeWorkTypeRegistrySchema`

### taskId

`string`

### now?

`number` = `...`

## Returns

[`RuntimeTrashTaskResult`](../interfaces/RuntimeTrashTaskResult.md)
