trait Worker extends Subscription
- Alphabetic
- By Inheritance
- Worker
- Subscription
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isUnsubscribed: Boolean
Checks if the subscription is unsubscribed.
Checks if the subscription is unsubscribed.
- Definition Classes
- Subscription
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
now: Long
- returns
the scheduler's notion of current absolute time in milliseconds.
-
def
schedule(action: ⇒ Unit): Subscription
Schedules an Action for execution.
Schedules an Action for execution.
- action
the Action to schedule
- returns
a subscription to be able to unsubscribe the action (unschedule it if not executed)
-
def
schedule(delay: Duration)(action: ⇒ Unit): Subscription
Schedules an Action for execution at some point in the future.
Schedules an Action for execution at some point in the future.
- delay
time to wait before executing the action
- action
the Action to schedule
- returns
a subscription to be able to unsubscribe the action (unschedule it if not executed)
-
def
schedulePeriodically(initialDelay: Duration, period: Duration)(action: ⇒ Unit): Subscription
Schedules a cancelable action to be executed periodically.
Schedules a cancelable action to be executed periodically. This default implementation schedules recursively and waits for actions to complete (instead of potentially executing long-running actions concurrently). Each scheduler that can do periodic scheduling in a better way should override this.
- initialDelay
time to wait before executing the action for the first time
- period
the time interval to wait each time in between executing the action
- action
the Action to execute periodically
- returns
a subscription to be able to unsubscribe the action (unschedule it if not executed)
-
def
scheduleRec(action: ⇒ Unit): Subscription
Schedules an Action for recursively repeated execution.
Schedules an Action for recursively repeated execution.
- action
the Action to schedule recursively
- returns
a subscription to be able to unsubscribe the action
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsubscribe(): Unit
Call this method to stop receiving notifications on the Observer that was registered when this Subscription was received.
Call this method to stop receiving notifications on the Observer that was registered when this Subscription was received.
- Definition Classes
- Subscription
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()