Method Create
| Edit this page View SourceCreate(string)
Creates a job manager with a unique id.
Declaration
public static JobManager Create(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique identifier for this job manager. |
Returns
| Type | Description |
|---|---|
| JobManager |
Remarks
This initializer allows you to create a specific instance of a job manager for cases when you don't want to take over the shared job manager instance.
The provided ID should be unique to a specific purpose in your application. On each successive run of the app, you must re-use the same id when you initialize your job manager for it to be able to properly reload its state.
If you create multiple instances with the same id the behavior is undefined.