
scala.async.internal.StateAssigner.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-async_2.11.0-RC3 Show documentation
Show all versions of scala-async_2.11.0-RC3 Show documentation
An asynchronous programming facility for Scala that offers a direct API for working with Futures.
The newest version!
/*
* Copyright (C) 2012-2014 Typesafe Inc.
*/
package scala.async.internal
private[async] final class StateAssigner {
private var current = -1
def nextState(): Int = {
current += 1
current
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy