OpenVeo server API for plugins

API Docs for: 7.0.0
Show:

Provider

Summary

Defines the base provider for all providers.

A provider manages resources from its associated storage.

Constructor

Provider

Syntax

Provider

(
  • storage
)

Summary

Parameters:

  • storage Storage

    The storage to use to store provider resources

Item Index

Methods

Properties

Methods

executeCallback

Syntax

executeCallback

(
  • [callback]
  • [error]
  • [callback]
)

Summary

Executes the given callback or log the error message if no callback specified.

It assumes that the second argument is the error. All arguments, except the callback itself, will be specified as arguments when executing the callback.

Parameters:

  • [callback] Function optional

    The function to execute

  • [error] Error optional

    An eventual error to pass to the callback

  • [callback] Function optional

    The function to call, if not specified the error is logged

Properties

storage

Syntax

storage

Storage final

Summary

The provider storage.