Source API
Package: @tao.js/utils
Named Export: Source
Description
Methods
constructor
| arg | required | type | default | description |
|---|---|---|---|---|
| kernel | yes | Kernel | the network to send AppCons to from the source | |
| toSrc | yes | function |
sends AppCons to the source | |
| name | no | string |
null |
name |
| fromSrc | yes | function |
a function that is a callback generating AppCons in tao + data format |
setCtx
dispose
Use this to cancel the Source on the Network/Kernel that
Properties
name
read only
type: string
description