# Functions
WithAcquireData returns an AcquireSemaphoreOption which attaches user-defined data to the operation.
WithAcquireInfiniteTimeout returns an AcquireSemaphoreOption which disables the timeout after which the operation fails if it is still waiting in the queue.
WithAcquireTimeout returns an AcquireSemaphoreOption which sets the timeout after which the operation fails if it is still waiting in the queue.
WithCreateData return a CreateSemaphoreOption which attaches user-defined data to the semaphore.
WithDescribeOwners return a DescribeSemaphoreOption which causes server send the list of owners in the response to the DescribeSemaphore request.
WithDescribeWaiters return a DescribeSemaphoreOption which causes server send the list of waiters in the response to the DescribeSemaphore request.
WithDescription returns an SessionOption that specifies a user-defined description that may be used to describe the client.
WithEphemeral returns an AcquireSemaphoreOption that causes to create an ephemeral semaphore.
WithForceDelete return a DeleteSemaphoreOption which allows to delete a semaphore even if it is currently acquired by other sessions.
WithSessionKeepAliveTimeout returns an SessionOption that specifies the time that the client will wait before it terminates the gRPC stream and tries to reconnect if no successful responses have been received from the server.
WithSessionReconnectDelay returns an SessionOption that specifies the time that the client will wait before it tries to reconnect the underlying gRPC stream in case of error.
WithSessionStartTimeout returns an SessionOption that specifies the time that the client should wait for a response to the StartSession request from the server before it terminates the gRPC stream and tries to reconnect.
WithSessionStopTimeout returns an SessionOption that specifies the time that the client should wait for a response to the StopSession request from the server before it terminates the gRPC stream and tries to reconnect.
WithSessionTimeout returns an SessionOption that specifies the timeout during which client may restore a detached session.
WithUpdateData return a UpdateSemaphoreOption which changes user-defined data in the semaphore.
# Structs
CreateSessionOptions configure an Session call.
# Type aliases
AcquireSemaphoreOption configures how we acquire a semaphore.
CreateSemaphoreOption configures how we create a semaphore.
DeleteSemaphoreOption configures how we delete a semaphore.
DescribeSemaphoreOption configures how we update a semaphore.
SessionOption configures how we create a new session.
UpdateSemaphoreOption configures how we update a semaphore.