UNPKG
@chatscope/use-chat
Version:
alpha (4.0.0-alpha.9)
latest (3.1.2)
4.0.0-alpha.9
4.0.0-alpha.8
4.0.0-alpha.7
4.0.0-alpha.6
4.0.0-alpha.5
4.0.0-alpha.4
4.0.0-alpha.3
4.0.0-alpha.2
4.0.0-alpha.1
3.1.2
3.1.1
3.1.0
3.0.0
2.0.3
2.0.2
2.0.1
2.0.0
1.5.0
1.4.1
1.4.0
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
React hook for state management in chat applications
chatscope.io
chatscope/use-chat
@chatscope/use-chat
/
dist
/
provider
/
useDebounceTyping.d.ts
4 lines
(3 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
import
{
ConversationId
,
UserId
}
from
"../Types"
;
import
{
IStorage
}
from
"../interfaces"
;
export
declare
const
useDebounceTyping
:
(
duration
:
number
,
updateState
: () =>
void
,
storage
:
IStorage
) =>
(
conversationId
:
ConversationId
,
userId
:
UserId
) =>
void
;