Method

MaplibreNativeFfiRenderSessionready_async

Declaration [src]

void
maplibre_native_ffi_render_session_ready_async (
  MaplibreNativeFfiRenderSession* self,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Waits until the handle is ready, as the call that created it reports. A handle that a callback lends is ready at once.

Runs on the thread-default main context of the thread that started the call.

This method completes asynchronously. Use maplibre_native_ffi_render_session_ready_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

callback

Type: GAsyncReadyCallback

The callback to call when the handle is ready.

The argument can be NULL.
user_data

Type: gpointer

The data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.