-
-
Save SeanTAllen/9844e735da8acc2870b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actor Main | |
new create(env: Env) => | |
let talk = SpeechOut | |
let config = Config.create(talk) | |
SpeechIn.create(talk, config) | |
actor SpeechOut | |
new create() => None | |
actor SpeechIn | |
let talk: SpeechOut tag | |
new create(talk': SpeechOut, config: Config) => | |
talk = config.talk | |
recover String(16000) end // trigger gc, happens around 14336 | |
class val Config | |
let talk: SpeechOut | |
new val create(talk': SpeechOut) => | |
talk = talk' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment