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

***

[zonegaze-flow](../../../../README.md) / [platforms/server-manager/src](../README.md) / ServerManagerDeps

# Interface: ServerManagerDeps

Defined in: [platforms/server-manager/src/index.ts:85](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L85)

Host operations supplied by Node/Electron or tests.

## Properties

### fetchOk

> **fetchOk**: (`url`) => `Promise`\<`boolean`\>

Defined in: [platforms/server-manager/src/index.ts:86](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L86)

#### Parameters

##### url

`string`

#### Returns

`Promise`\<`boolean`\>

***

### findProcessByPort

> **findProcessByPort**: (`port`) => `Promise`\<[`PortProcessInfo`](PortProcessInfo.md) \| `null`\>

Defined in: [platforms/server-manager/src/index.ts:88](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L88)

#### Parameters

##### port

`number`

#### Returns

`Promise`\<[`PortProcessInfo`](PortProcessInfo.md) \| `null`\>

***

### killProcess

> **killProcess**: (`pid`, `signal`) => `Promise`\<`boolean`\>

Defined in: [platforms/server-manager/src/index.ts:89](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L89)

#### Parameters

##### pid

`number`

##### signal

`0` \| `Signals`

#### Returns

`Promise`\<`boolean`\>

***

### now

> **now**: () => `number`

Defined in: [platforms/server-manager/src/index.ts:90](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L90)

#### Returns

`number`

***

### spawn

> **spawn**: (`command`, `args`, `options`) => [`ManagedChildProcess`](ManagedChildProcess.md)

Defined in: [platforms/server-manager/src/index.ts:87](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/platforms/server-manager/src/index.ts#L87)

#### Parameters

##### command

`string`

##### args

readonly `string`[]

##### options

`SpawnOptionsWithoutStdio`

#### Returns

[`ManagedChildProcess`](ManagedChildProcess.md)
