Gjsify LogoGjsify Logo

Hierarchy

  • TaskCacheCallback

Callable

  • #EggTaskCacheCallback is the prototype for a function to be executed to populate an item in the cache.

    This function will be executed when a fault (cache miss) occurs from a caller requesting an item from the cache.

    The callee may complete the operation asynchronously, but MUST return either a GObject using g_task_return_pointer() or a #GError using g_task_return_error() or g_task_return_new_error().

    Parameters

    • self: Egg.TaskCache

      An #EggTaskCache.

    • key: object

      the key to fetch

    • task: Gio.Task

      the task to be completed

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method