future

command
v0.0.0-...-c93e153 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2018 License: MIT Imports: 3 Imported by: 0

README

14.2.8 Future/Promise

複数のタスクがFutureから値を取得できるようキャッシュ機能を持ったFuture/Promiseパターン

Result

$ go run main.go
func NewStringFuture() (*StringFuture, chan string) {
func (f *StringFuture) Get() string {
func (f *StringFuture) Close() {
func readFile(path string) *StringFuture {
func printFunc(futureSource *StringFuture) chan []string {
func countLines(futureSource *StringFuture) chan int {
func main() {
85

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL