mwg API
Reference
Overview
Examples
Examples index
Getting started
Design
FAQ
Preparing search index...
index
Audio
StreamLoader
Type Alias StreamLoader
StreamLoader
:
(
kind
:
"bgm"
|
"bgs"
,
name
:
string
,
context
:
BusLoadContext
,
)
=>
Promise
<
StreamedTrack
|
null
>
turns a kind and a name into a streamed source, or null to let the buffer loader answer instead
Type Declaration
(
kind
:
"bgm"
|
"bgs"
,
name
:
string
,
context
:
BusLoadContext
,
)
:
Promise
<
StreamedTrack
|
null
>
Parameters
kind
:
"bgm"
|
"bgs"
name
:
string
context
:
BusLoadContext
Returns
Promise
<
StreamedTrack
|
null
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Reference
Overview
Examples
Examples index
Getting started
Design
FAQ
mwg API
Loading...
turns a kind and a name into a streamed source, or null to let the buffer loader answer instead