createSource

open fun createSource(cancellable: Cancellable? = null): <Error class: unknown class>

Creates a #GSource that triggers when @stream can be read, or

Return

a new #GSource

Since

2.28

Parameters

cancellable

a #GCancellable, or null