GuidModule
PackageAxial.PlatformService
Helpers for the GUID service.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| service | Guid.service | Reads the service from the environment. |
| newGuid | Guid.newGuid | Reads a GUID from an explicit GUID service. |
| live | Guid.live | Creates a live GUID service backed by Guid.NewGuid(). |
| fromValue | Guid.fromValue value | Creates a deterministic GUID service that always returns the supplied value. |
| layer | Guid.layer | Builds the live GUID service as a layer. |
Reads a GUID from an explicit GUID service.
Returns
Flow<'env, 'error, Guid>
Creates a deterministic GUID service that always returns the supplied value.
Parameters
| Name | Type | Description |
|---|---|---|
| value | Guid |
Returns
IGuid

