Make notes on needed docs
This commit is contained in:
parent
350b85e0c7
commit
5b8611a8c0
|
@ -24,6 +24,8 @@ use crate::{
|
|||
#[non_exhaustive]
|
||||
pub struct WorkingData {
|
||||
pub throttle: Duration,
|
||||
|
||||
/// TODO: notes on how outcome is read immediately after handler returns
|
||||
pub action_handler: Arc<AtomicTake<Box<dyn Handler<Action> + Send>>>,
|
||||
}
|
||||
|
||||
|
@ -38,7 +40,8 @@ impl fmt::Debug for WorkingData {
|
|||
impl Default for WorkingData {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
throttle: Duration::from_millis(100),
|
||||
// set to 50ms here, but will remain 100ms on cli until 2022
|
||||
throttle: Duration::from_millis(50),
|
||||
action_handler: Arc::new(AtomicTake::new(Box::new(()) as _)),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue