Context

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.context
  • Platforms: .NET, .NET Standard 2.0, Island

Required Methods


Deadline

 

// .NET, .NET Standard 2.0
method Deadline: tuple of (deadline: Time, ok: Boolean)
// Island
method Deadline: tuple of (deadline: Time, ok: Boolean)

 

// .NET, .NET Standard 2.0
(Time deadline, Boolean ok) Deadline()
// Island
(Time deadline, Boolean ok) Deadline()

 

func Deadline() -> (Time, Boolean)

 

// .NET, .NET Standard 2.0
func Deadline() tuple of (|name=deadline| Time, |name=ok| Boolean)
// Island
func Deadline() tuple of (|name=deadline| Time, |name=ok| Boolean)

 

Function Deadline() As Tuple (Of Time, Boolean)

Done

 

method Done: ReceivingChannel<Object>

 

func Done() -> ReceivingChannel<Object>

 

func Done() ReceivingChannel<interface{}>

 

Function Done() As ReceivingChannel<Object>

Err

 

method Err: error

 

error Err()

 

func Err() -> error

 

func Err() error

 

Function Err() As error

Value

 

method Value(key: Object): Object

 

Object Value(Object key)

 

func Value(_ key: Object) -> Object

 

func Value(key interface{}) interface{}

 

Function Value(key As Object) As Object

Parameters:

  • key: