NorskManager.notifyMigrationGetState() method

The propose step (Phase F): ask the SOURCE what state it would hand over, before any target has been placed. The source’s answer — a payload, or a refusal — comes back asynchronously on the event stream as migrationState; a refusal ends the migration with nothing started anywhere.

Signature:

notifyMigrationGetState(sourceJobKey: ActiveJobKey, migrationId: string): Promise<void>;

Parameters

Parameter Type Description

sourceJobKey

ActiveJobKey

migrationId

string

Returns:

Promise<void>