File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 30
30
31
31
32
32
Dispatcher
33
- --------
33
+ ----------
34
34
35
- .. automodule :: idom.core.render
35
+ .. automodule :: idom.core.dispatcher
36
36
:members:
37
37
38
38
Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ callback that's called by the dispatcher to events it should execute.
163
163
164
164
``context `` is information that's specific to the
165
165
:class: `~idom.core.dispatcher.AbstractDispatcher ` implementation. In the case of
166
- the :class: `~idom.core.render .SingleStateDispatcher ` it doesn't require any
167
- context. On the other hand the :class: `~idom.core.render .SharedStateDispatcher `
166
+ the :class: `~idom.core.dispatcher .SingleStateDispatcher ` it doesn't require any
167
+ context. On the other hand the :class: `~idom.core.dispatcher .SharedStateDispatcher `
168
168
requires a client ID as its piece of contextual information.
169
169
170
170
@@ -201,8 +201,8 @@ two ways - as a standalone application or as an extension to an existing applica
201
201
Standalone Server Usage
202
202
.......................
203
203
204
- The implementation constructs a default application that's used to serve the renders of
205
- the model :
204
+ The implementation constructs a default application that's used to serve the dispatched
205
+ models :
206
206
207
207
.. code-block :: python
208
208
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ async def recv():
99
99
await dispatcher .run (send , recv , None )
100
100
101
101
102
- async def test_dispatcher_run_does_not_supress_non_stop_rendering_errors ():
102
+ async def test_dispatcher_run_does_not_supress_errors ():
103
103
class DispatcherWithBug (AbstractDispatcher ):
104
104
async def _outgoing (self , layout , context ):
105
105
raise ValueError ("this is a bug" )
You can’t perform that action at this time.
0 commit comments