[ Version ( since = "1.65" ) ]
public async GenericArray<unowned Notice> get_notices_async (DateTime since_date_time, TimeSpan timeout, Cancellable? cancellable) throws Error
Asynchronously get notifications that have occurred / are occurring on the snap daemon.
The since_date_time field, being a GDateTime, has a resolution of microseconds, so, if nanosecond resolution is needed, it
is mandatory to call notices_set_after_notice before calling this
method.
| this |
a Client. |
| since_date_time |
send only the notices generated after this moment (NULL for all). |
| timeout |
time, in microseconds, to wait for a new notice (zero to return immediately). |
| cancellable |
a Cancellable or null. |
| callback |
a TaskReadyCallback to call when the request is satisfied. |
| user_data |
the data to pass to callback function. |