Preparing search index...
The search index is not available
@tomic - v0.36.0
@tomic - v0.36.0
@tomic/react
useCurrentAgent
Function useCurrentAgent
use
Current
Agent
(
)
:
[
undefined
|
Agent
,
(
(
agent
?:
Agent
)
=>
void
)
]
A hook for using and adjusting the Agent in the store.
Returns
[
undefined
|
Agent
,
(
(
agent
?:
Agent
)
=>
void
)
]
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
@tomic -
v0.36.0
@tomic/lib -
v0.36.0
<internal>
Collections
Commits
Core
Data
Browser
Server
@tomic/react -
v0.36.0
<internal>
Collections
Commits
Core
Data
Browser
Server
Datatype
Error
Type
Store
Events
Agent
Atomic
Error
Client
Collection
Collection
Builder
Commit
Builder
JSONADParser
Resource
Store
Agent
Interface
Array
Error
Classes
Collection
Params
Commit
Commit
BuilderI
Fetch
Opts
Headers
Object
Parse
Opts
Prop
Subject
To
Name
Mapping
Prop
Type
Mapping
Property
Query
Filter
Right
Search
Opts
Store
Opts
Version
Base
Object
Base
Props
File
Like
File
Or
File
Like
Infer
Type
Of
Value
In
Triple
JSONArray
JSONObject
JSONPrimitive
JSONValue
Optional
Class
Prop
Vals
Quick
Acces
Prop
Type
Recommends
Requires
Set
Local
Storage
Value
Set
Value
Unknown
Class
Use
Collection
Result
Store
Context
classes
collections
commits
core
data
Browser
datatypes
endpoints
instances
no
Nested
Support
properties
reverse
Datatype
Mapping
server
unknown
Subject
urls
__INTERNAL_
GET_
KNOWN_
SUBJECT_
MAPPING
apply
Commit
To
Resource
build
Search
Subject
check
Authentication
Cookie
class
To
Typescript
Definition
create
Authentication
datatype
From
Url
escape
Filter
Value
escape
Tantivy
Key
generate
Key
Pair
generate
Public
Key
From
Private
get
Known
Name
By
Subject
get
Timestamp
Now
import
Json
Ad
String
is
Array
is
Number
is
String
is
Unauthorized
parse
And
Apply
Commit
parse
CommitJSON
parse
Commit
Resource
proxy
Collection
proxy
Resource
register
Ontologies
remove
Cached
Search
Results
remove
Cookie
Authentication
serialize
Deterministically
set
Cookie
Authentication
sign
Request
sign
To
Base64
signature
Message
truncate
Url
use
Array
use
Boolean
use
Can
Write
use
Children
use
Collection
use
Current
Agent
use
Date
use
Debounce
use
Debounced
Callback
use
Local
Storage
use
Markdown
use
Member
From
Collection
use
Number
use
Property
use
Resource
use
Resources
use
Server
Search
use
ServerURL
use
Store
use
String
use
Subject
use
Title
use
Value
val
To
Array
val
To
Boolean
val
To
Date
val
To
Number
val
To
Resource
val
To
String
validate
Datatype
Generated using
TypeDoc
A hook for using and adjusting the Agent in the store.