Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolymerLabs/actor-helpers
/ functions
Functions
50 in github.com/PolymerLabs/actor-helpers
⨍
Functions
50
◇
Types & classes
36
↓ 16 callers
Function
hookup
(actorName, actor, { purgeExistingMessages = false } = {})
lib/actor/Actor.js:180
↓ 14 callers
Function
lookup
(actorName)
lib/actor/Actor.js:244
↓ 14 callers
Method
send
* Send a message to this specific actor. * * If you want to wait until the message has been queued up, then `await` the * `send` invocation:
src/actor/Actor.ts:287
↓ 5 callers
Method
popMessages
* Retrieve all messages for a specific recipient. You can specify with * `keepMessage` whether to keep messages after they are processed by
lib/watchable-message-store/WatchableMessageStore.js:72
↓ 5 callers
Method
popMessages
* Retrieve all messages for a specific recipient. You can specify with * `keepMessage` whether to keep messages after they are processed by * th
src/watchable-message-store/WatchableMessageStore.ts:109
↓ 4 callers
Function
initializeQueues
()
lib/actor/Actor.js:274
↓ 2 callers
Method
onMessage
(message: T)
src/actor/Actor.ts:48
↓ 1 callers
Function
actorMixin
(superClass)
lib/actor/Actor.js:53
↓ 1 callers
Function
actorMixin
( superClass: S )
src/actor/Actor.ts:94
↓ 1 callers
Method
init
()
lib/watchable-message-store/WatchableMessageStore.js:45
↓ 1 callers
Method
init
* Init callback that can be used to perform some initialization logic. * This method is invoked in the constructor of an {@link Actor} and sh
lib/actor/Actor.js:73
↓ 1 callers
Method
init
()
src/watchable-message-store/WatchableMessageStore.ts:78
↓ 1 callers
Method
init
* Init callback that can be used to perform some initialization logic. * This method is invoked in the constructor of an {@link Actor} and should
src/actor/Actor.ts:119
↓ 1 callers
Method
pushMessage
* Store a message with a recipient. * * @param message The message to store with a recipient and a detail.
lib/watchable-message-store/WatchableMessageStore.js:106
↓ 1 callers
Method
pushMessage
* Store a message with a recipient. * * @param message The message to store with a recipient and a detail.
src/watchable-message-store/WatchableMessageStore.ts:162
↓ 1 callers
Method
resetCursor
()
lib/watchable-message-store/WatchableMessageStore.js:42
↓ 1 callers
Method
resetCursor
()
src/watchable-message-store/WatchableMessageStore.ts:74
↓ 1 callers
Method
subscribe
* Add a callback whenever a new message arrives for the recipient. * Depending on the functionality of your browser, this will either use *
lib/watchable-message-store/WatchableMessageStore.js:169
↓ 1 callers
Method
subscribe
* Add a callback whenever a new message arrives for the recipient. * Depending on the functionality of your browser, this will either use * `Bro
src/watchable-message-store/WatchableMessageStore.ts:250
↓ 1 callers
Method
subscribeWithBroadcastChannel
(recipient, callback)
lib/watchable-message-store/WatchableMessageStore.js:126
↓ 1 callers
Method
subscribeWithBroadcastChannel
( recipient: string, callback: (entries: StoredMessage[]) => void )
src/watchable-message-store/WatchableMessageStore.ts:189
↓ 1 callers
Method
subscribeWithPolling
(recipient, callback)
lib/watchable-message-store/WatchableMessageStore.js:145
↓ 1 callers
Method
subscribeWithPolling
( recipient: string, callback: (messages: StoredMessage[]) => void )
src/watchable-message-store/WatchableMessageStore.ts:219
Method
channelCallback
(evt)
lib/watchable-message-store/WatchableMessageStore.js:128
Method
channelCallback
(evt: MessageEvent)
src/watchable-message-store/WatchableMessageStore.ts:195
Method
constructor
(name)
lib/watchable-message-store/WatchableMessageStore.js:32
Method
constructor
()
lib/actor/Actor_test.js:101
Method
constructor
()
lib/actor/Actor.js:55
Method
constructor
(private name: string)
src/watchable-message-store/WatchableMessageStore.ts:65
Method
constructor
()
src/actor/Actor_test.ts:142
Function
hookup
( actorName: ActorName, actor: actorMixin<ActorMessageType[ActorName]>, { purgeExistingMessages = false
src/actor/Actor.ts:237
Function
init
()
src/actor/Actor.ts:199
Method
init
()
lib/actor/Actor_test.js:106
Method
init
()
lib/actor/Actor.js:151
Method
init
()
src/actor/Actor_test.ts:147
Function
initializeQueues
()
src/actor/Actor.ts:364
Function
lookup
( actorName: ActorName )
src/actor/Actor.ts:331
Method
onMessage
(message: T)
lib/actor/Actor.d.ts:43
Method
onMessage
()
lib/actor/Actor_test.js:30
Method
onMessage
()
lib/actor/Actor_test.js:66
Method
onMessage
* Callback to process a message that was sent to this actor. * * Note that this callback is synchronous. This means that if an actor
lib/actor/Actor.js:109
Method
onMessage
()
src/actor/Actor_test.ts:52
Method
onMessage
()
src/actor/Actor_test.ts:97
Method
onMessage
* Callback to process a message that was sent to this actor. * * Note that this callback is synchronous. This means that if an actor needs
src/actor/Actor.ts:156
Method
pollCallback
()
lib/watchable-message-store/WatchableMessageStore.js:147
Method
pollCallback
()
src/watchable-message-store/WatchableMessageStore.ts:225
Function
postDetection
(availableBrowsers)
karma.conf.js:65
Function
send
(message)
lib/actor/Actor.js:246
Function
send
(message: ActorMessageType[ActorName])
src/actor/Actor.ts:335
Method
send
* Send a message to this specific actor. * * If you want to wait until the message has been queued up, then `await` the * `send` invoca
lib/actor/Actor.d.ts:296