get_async_context


Description:

public unowned MainContext? get_async_context ()

Gets this's async_context.

This does not add a ref to the context, so you will need to ref it yourself if you want it to outlive its session.

For a modern Session, this will always just return the thread-default MainContext, and so is not especially useful.

Parameters:

this

a Session

Returns:

this's MainContext, which may be null