Module agora.utils.Utility
Utility functions that cannot be put anywhere else
Functions
Name | Description |
retry(waiter, max_retries, duration, error_msg)
|
Retry executing a given delegate at most X times and wait between
the retries. As soon as the delegate is executed successfully,
the function immediately returns.
|
retryFor(check, timeout, msg, file, line)
|
Retry the 'check' condition until it is true, or the timeout expires.
|
snakeCaseToUpperCamelCase(original)
|
Converts a string with underscore separator to upper camel case, for example
converts "this_is_me" to "ThisIsMe"
|
Classes
Name | Description |
RawStringSerializer
|
Utility class to implement vibe.d ResultSerializer.serialize and
ResultSerializer.deserialize templates
|
Templates
Name | Description |
SyncFunction
|
This template wraps the function's body inside a 'synchronized' statement,
so it can be called from multiple threads.
|
Manifest constants
Name | Type | Description |
FuncAttributes
|
|
returns the function attributues as a string
|