GLib.Source.get_ready_time_ns

### Method

# GLib Sourceget_ready_time_ns

unstable since: 2.90

#### Declaration [src]

    gboolean
    g_source_get_ready_time_ns (
      GSource* source,
      uint64_t* ready_time
    )

#### Description [src]

Gets the ‘ready time’ of `source`, as set by `g_source_set_ready_time_ns()`. If no ready time has been set or it has been cleared via method@GLib.Source.clear_ready_time], this function returns false.

Any time before or equal to the current monotonic time (including zero) is an indication that the source will fire immediately.

Available since: 2.90

#### Parameters

`ready_time`

  Type: `uint64_t*`

  Set to the ready time on success.

  The argument will be set by the function.
  The argument can be `NULL`.

#### Return value

Type: `gboolean`

True if the source has a ready time set.