Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "jungletv:queue"
ModuleName is the name by which this module can be require()d in a script
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(appContext modules.ApplicationContext, pointsManager *pointsmanager.Manager, mediaQueue *mediaqueue.MediaQueue, mediaProviders map[types.MediaType]media.Provider, pricer *pricer.Pricer, skipManager *skipmanager.Manager, queueMisc modules.OtherMediaQueueMethods, pagesModule pages.PagesModule, paymentsModule wallet.WalletModule, userSerializer gojautil.UserSerializer) modules.NativeModule
New returns a new queue module
func SerializePerformance ¶
func SerializePerformance(vm *goja.Runtime, onObject *goja.Object, performance media.Performance, userSerializer gojautil.UserSerializer) goja.Value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.