temporalio-temporal
- Description:
Boost your app's reliability with Temporal! As a durable execution platform, it handles failures and retries seamlessly, empowering developers to build scalable applications without losing productivity.
- Copyright:
- 2026 Eyevinn Technology AB
Methods
(async, static) createTemporalioTemporalInstance(context, body) → {TemporalioTemporal}
- Description:
Create a new Temporal instance
Example
import { Context } from '@osaas/client-core';
import { createTemporalioTemporalInstance } from '@osaas/client-services';
const ctx = new Context();
const body: TemporalioTemporalConfig = { name: 'myinstance', ... };
const instance = await createTemporalioTemporalInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
TemporalioTemporalConfig | Service instance configuration |
Returns:
- Service instance
- Type
- TemporalioTemporal
(async, static) getTemporalioTemporalInstance(context, name) → {TemporalioTemporal}
- Description:
Get a Temporal instance
Example
import { Context } from '@osaas/client-core';
import { getTemporalioTemporalInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getTemporalioTemporalInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the temporal to be retrieved |
Returns:
- Service instance
- Type
- TemporalioTemporal
(async, static) removeTemporalioTemporalInstance(context, name)
- Description:
Remove a Temporal instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the temporal to be removed |