All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.sciss.synth.Completion.scala Maven / Gradle / Ivy

The newest version!
package de.sciss.synth

import de.sciss.osc.Packet

object Completion {
   implicit def fromPacket[T]( p: Packet ) = Completion[T]( Some( (_: T) => p ), None ) // message[T]( msg )
}
final case class Completion[ T ]( message: Option[ T => Packet ], action: Option[ T => Unit ])




© 2015 - 2025 Weber Informatics LLC | Privacy Policy