Method

P2pandaTopicpublish_async

Declaration [src]

void
p2panda_topic_publish_async (
  P2pandaTopic* topic,
  GBytes* bytes,
  gboolean ephemeral,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

No description available.

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

Parameters

bytes

Type: GBytes

No description available.

The instance takes ownership of the data, and is responsible for freeing it.
ephemeral

Type: gboolean

Whether this message should be ephemeral or persistent.

cancellable

Type: GCancellable

No description available.

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

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
user_data

Type: gpointer

User data to pass to callback.

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