GetReliableTopicAsync Method
GetReliableTopicAsync<T>(string, ReliableTopicOptions)
Gets a see IHReliableTopic<T> distributed object.
Declaration
Task<IHReliableTopic<T>> GetReliableTopicAsync<T>(string name, ReliableTopicOptions option = null)
Parameters
string | name | The unique name of the reliable topic. |
ReliableTopicOptions | option | Option for the reliable topic. If it is not configured with a name in the HazelcastOptions, default values will be used. |
Returns
Task<IHReliableTopic<T>> | The reliable topic that was retrieved or created. |
Type Parameters
T | The type of the topic messages. |
Remarks
If an object with the specified name
does not
exist already in the cluster, a new object is created.