Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 23, 2022
1 parent 7079ea9 commit dc8a988
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions examples/user_guide/Overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@
"> - `add_periodic_callback`: Schedules a periodic callback to be run at an interval set by the period\n",
"> - `as_cached`: Allows caching data across sessions by memoizing on the provided key and keyword arguments to the provided function.\n",
"> - `cancel_scheduled`: Cancel a scheduled task by name.\n",
"> - `execute`: Execute a callback appropriately depending on the context the application is running in.\n",
"> - `execute`: Executes both synchronous and asynchronous callbacks appropriately depending on the context the application is running in.\n",
"> - `kill_all_servers`: Stops all running server sessions.\n",
"> - `onload`: Allows defining a callback which is run when a server is fully loaded\n",
"> - `schedule_task`: Schedule a callback periodically at a specific time (click [here](./Deploy_and_Export.ipynb#pn.state.schedule) for more details)\n",
"> - `sync_busy`: Sync an indicator with a boolean value parameter to the busy property on state\n"
"> - `schedule`: Schedule a callback periodically at a specific time (click [here](./Deploy_and_Export.ipynb#pn.state.schedule) for more details)\n",
"> - `sync_busy`: Sync an indicator with a boolean value parameter to the busy property on state"
]
}
],
Expand Down
9 changes: 5 additions & 4 deletions panel/io/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,11 @@ def cancel_task(self, name: str, wait: bool=False):

def execute(self, callback: Callable([], None)) -> None:
"""
Executes both synchronous and asynchronous callbacks appropriately depending on
the context the application is running in. When running on the server callbacks are
scheduled on the event loop ensuring the Bokeh Document lock is acquired and
models can be modified directly.
Executes both synchronous and asynchronous callbacks
appropriately depending on the context the application is
running in. When running on the server callbacks are scheduled
on the event loop ensuring the Bokeh Document lock is acquired
and models can be modified directly.
Arguments
---------
Expand Down

0 comments on commit dc8a988

Please sign in to comment.