timeout_add_seconds_with_name
Description:
[ Version ( since = "3.12" ) ]
public uint timeout_add_seconds_with_name (int priority, uint interval, string? name, owned SourceFunc function)
Similar to add_seconds_full, but also names the
SocketSource as name.
You might find e_named_timeout_add_seconds or e_named_timeout_add_seconds_full more convenient. Those macros name the
SocketSource implicitly.
Parameters:
| priority |
the priority of the timeout source, typically in the range between DEFAULT and HIGH |
| interval |
the time between calls to the function, in seconds |
| name |
debug name for the source |
| function |
function to call |
| data |
data to pass to |
| notify |
function to call when the timeout is removed, or |
Returns:
|
the ID (greater than 0) of the event source |
Namespace: E
Package: libedataserver-1.2