# loadAdapter

**Kind:** Function

**Source:** [`packages/core/helpers/load-adapter.ts`](https://github.com/nestjs/nest/blob/master/packages/core/helpers/load-adapter.ts#L11)

**Part of:** [Core](subsystem-packages-core)

## Signature

```ts
function loadAdapter(defaultPlatform: string, transport: string, loaderFn: Function)
```

## Parameters

| Name | Type |
|---|---|
| `defaultPlatform` | `string` |
| `transport` | `string` |
| `loaderFn` | `Function` |

## Relationships

- IMPORTS → `Logger`

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (1)

- `SocketModule` — `packages/websockets/socket-module.ts`:27
