set_async


Description:

public void set_async (bool @async)

Configure async behaviour in this, no state change will block.

The open, close, start, stop, play and pause virtual methods will be executed in a different thread and are thus allowed to perform blocking operations. Any blocking operation should be unblocked with the unlock vmethod.

Parameters:

this

base source instance

async

new async mode




2022 vala-language.org