prorm API Reference
← Documentation
GitLab
Preparing search index...
index
CodeSource
Type Alias CodeSource
CodeSource
:
|
string
|
URL
|
Uint8Array
|
{
text
()
:
Promise
<
string
>
;
name
?:
string
}
|
{
path
:
string
}
Something a routine body can be read from.
string
— a filesystem path, resolved against the working directory.
URL
— a
file:
URL. Others are rejected, because fetching a function body over the network at schema-build time is not something to do by accident.
Buffer
/
Uint8Array
— bytes already in hand.
Blob
/
File
— the browser's file objects.
{ path }
— anything carrying a path, which covers most file wrappers.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
← Documentation
GitLab
prorm API Reference
Loading...
Something a routine body can be read from.
string— a filesystem path, resolved against the working directory.URL— afile:URL. Others are rejected, because fetching a function body over the network at schema-build time is not something to do by accident.Buffer/Uint8Array— bytes already in hand.Blob/File— the browser's file objects.{ path }— anything carrying a path, which covers most file wrappers.