---
url: /dyad/stable/stdlib/DiscreteComponents/types/DelayType.md
description: >-
  Dyad DelayType docs.  Selects which logical edges of an OnOffDelay block are
  delayed.
---

# `DelayType` {#DelayType}

Selects which logical edges of an `OnOffDelay` block are delayed.

* `OnDelay`: the turn-on (rising) edge is delayed; the turn-off edge is immediate.

* `OffDelay`: the turn-off (falling) edge is delayed; the turn-on edge is immediate.

* `OnOffDelay`: both the turn-on and turn-off edges are delayed.

## Cases {#Cases}

* `OnDelay`

* `OffDelay`

* `OnOffDelay`

## Source {#Source}

```dyad
"""
Selects which logical edges of an `OnOffDelay` block are delayed.

- `OnDelay`: the turn-on (rising) edge is delayed; the turn-off edge is immediate.
- `OffDelay`: the turn-off (falling) edge is delayed; the turn-on edge is immediate.
- `OnOffDelay`: both the turn-on and turn-off edges are delayed.
"""
enum DelayType =
  | OnDelay
  | OffDelay
  | OnOffDelay
```

## Related {#Related}

* Examples

* Experiments

* Analyses

* Tests
