TaskCache.peek

Peeks to see @key is contained in the cache and returns the matching #GObject if it does.

The reference count of the resulting #GObject is not incremented. For that reason, it is important to remember that this function may only be called from the main thread.

class TaskCache
ObjectG
peek
(
void* key
)

Parameters

key
Type: void*

The key for the cache

Return Value

Type: ObjectG

A #GObject or %NULL if the key was not found in the cache.

Meta