GetFlakeIdGeneratorAsync Method
GetFlakeIdGeneratorAsync(string)
Gets an IFlakeIdGenerator distributed object.
Declaration
Task<IFlakeIdGenerator> GetFlakeIdGeneratorAsync(string name)
Parameters
string | name | The unique name of the Flake Id Generator. |
Returns
Task<IFlakeIdGenerator> | The Flake Id Generator that was retrieved or created. |
Remarks
If an object with the specified name
does not
exist already in the cluster, a new object is created.