Files
shaka-player/lib/routing/node.js
T
Aaron Vaage e1e312538c Add load graph toolkit
In order to support multiple different forms of loading, we have
designed a toolkit that we are calling "The Load Graph Toolkit". It
allows us to describe a series of work as a graph, and provides a way
for us to move through that graph, executing actions at each step.

This is the first step toward resolving #816, #997, and #1570. This
will provide the framework to build a more structured system for
loading and unloading content.

Issue #816
Issue #997
Issue #1570

Change-Id: I2f91089d07b0c901843550492308fcfd775bf161
2019-02-26 23:42:36 +00:00

35 lines
1023 B
JavaScript

/**
* @license
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
goog.provide('shaka.routing.Node');
/**
* @typedef {{
* name: string
* }}
*
* @description
* A node is the one of the two fundamental units used to build graphs. It
* represents the position within a graph.
*
* @property {string} name
* A human-readable name for this node. While this should not be used in
* production, the name helps identify nodes when debugging.
*/
shaka.routing.Node;