push_current


Description:

public void push_current ()

Pushes this onto the cancellable stack.

The current cancellable can then be received using get_current.

This is useful when implementing cancellable operations in code that does not allow you to pass down the cancellable object.

This is typically called automatically by e.g. File operations, so you rarely have to call this yourself.

Parameters:

this

a Cancellable object




2022 vala-language.org