API reference
question/host
Import
Section titled “Import”import * as api from "@fungi.computer/shiitake-extensions/question/host";Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| constant | questionExtension | Hub’s shared roster sends every Ask to a person. |
| constant | localQuestionExtension | Local’s roster sends an Ask to the Agent that sent the asking work first. |
| function | questionExtensionFor() | One durable question owner over the ordinary extension doors. |
questionExtensionconstant
Section titled “questionExtension”const questionExtension: RosteredExtensionV0;Hub’s shared roster sends every Ask to a person.
localQuestionExtensionconstant
Section titled “localQuestionExtension”const localQuestionExtension: RosteredExtensionV0;Local’s roster sends an Ask to the Agent that sent the asking work first.
questionExtensionFor()function
Section titled “questionExtensionFor()”function questionExtensionFor(routesToSender): RosteredExtensionV0;One durable question owner over the ordinary extension doors.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
routesToSender |
boolean |
Returns
Section titled “Returns”RosteredExtensionV0