kernl API
Preparing search index...
@kernlize/core
IntentRouter
Interface IntentRouter
kehto's resolver plus the shell's change notifications.
interface
IntentRouter
{
available
(
archetype
:
string
,
)
:
IntentAvailability
|
Promise
<
IntentAvailability
>
;
handlers
()
:
|
readonly
IntentAvailability
[]
|
Promise
<
readonly
IntentAvailability
[]
>
;
invoke
(
request
:
IntentRequest
,
context
:
IntentResolverContext
,
)
:
IntentResult
|
Promise
<
IntentResult
>
;
notifyChanged
(
archetype
:
string
)
:
void
;
onChanged
?
(
listener
:
(
availability
:
IntentAvailability
)
=>
void
,
)
:
()
=>
void
;
}
Hierarchy
IntentResolver
IntentRouter
Index
Methods
available
handlers
invoke
notify
Changed
on
Changed?
Methods
available
available
(
archetype
:
string
)
:
IntentAvailability
|
Promise
<
IntentAvailability
>
Parameters
archetype
:
string
Returns
IntentAvailability
|
Promise
<
IntentAvailability
>
handlers
handlers
()
:
|
readonly
IntentAvailability
[]
|
Promise
<
readonly
IntentAvailability
[]
>
Returns
readonly
IntentAvailability
[]
|
Promise
<
readonly
IntentAvailability
[]
>
invoke
invoke
(
request
:
IntentRequest
,
context
:
IntentResolverContext
,
)
:
IntentResult
|
Promise
<
IntentResult
>
Parameters
request
:
IntentRequest
context
:
IntentResolverContext
Returns
IntentResult
|
Promise
<
IntentResult
>
notify
Changed
notifyChanged
(
archetype
:
string
)
:
void
Parameters
archetype
:
string
Returns
void
Optional
on
Changed
onChanged
?
(
listener
:
(
availability
:
IntentAvailability
)
=>
void
)
:
()
=>
void
Parameters
listener
:
(
availability
:
IntentAvailability
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
available
handlers
invoke
notify
Changed
on
Changed
kernl API
Loading...
kehto's resolver plus the shell's change notifications.