# wrNoop

> A shared function that does nothing, for a callback slot with no handler yet.

Source: https://ngwr.dev/reference/utils/wr-noop  
Kind: Util  
Updated in v16  
Optional

## Usage

```angular-ts
import { wrNoop } from 'ngwr/utils';

class MyService {
  private onChange: (v: string) => void = wrNoop;
}
```

## API

| Name | Description | Type | Default |
| --- | --- | --- | --- |
| `wrNoop()` | Does nothing. Use it as the default for a callback slot. | `() => void` | `—` |

## See also

- [wrDebounce](https://ngwr.dev/reference/utils/wr-debounce) — Runs a callback once calls have stopped for waitMs.
- [wrThrottle](https://ngwr.dev/reference/utils/wr-throttle) — Runs a callback at most once every waitMs, on the leading and the trailing edge.
