Global

Location

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

 

Background

 

class method Background: Context

 

static Context Background()

 

static func Background() -> Context

 

func Background() Context

 

Shared Function Background() As Context

Canceled

 

class var Canceled: error;

 

static error Canceled

 

static var Canceled: error

 

Canceled error

 

Shared FIELD Canceled() As error

DeadlineExceeded

 

class var DeadlineExceeded: error;

 

static error DeadlineExceeded

 

static var DeadlineExceeded: error

 

DeadlineExceeded error

 

Shared FIELD DeadlineExceeded() As error

TODO

 

class method TODO: Context

 

static Context TODO()

 

static func TODO() -> Context

 

func TODO() Context

 

Shared Function TODO() As Context

WithCancel

 

class method WithCancel(parent: Context): tuple of (ctx: Context, cancel: CancelFunc)

 

static (Context ctx, CancelFunc cancel) WithCancel(Context parent)

 

static func WithCancel(_ parent: Context) -> (Context, CancelFunc)

 

func WithCancel(parent Context) tuple of (|name=ctx| Context, |name=cancel| CancelFunc)

 

Shared Function WithCancel(parent As Context) As Tuple (Of Context, CancelFunc)

Parameters:

  • parent:

WithDeadline

 

class method WithDeadline(parent: Context; d: Time): tuple of (Context, CancelFunc)

 

static (Context, CancelFunc) WithDeadline(Context parent, Time d)

 

static func WithDeadline(_ parent: Context, _ d: Time) -> (Context, CancelFunc)

 

func WithDeadline(parent Context, d Time) tuple of (Context, CancelFunc)

 

Shared Function WithDeadline(parent As Context, d As Time) As Tuple (Of Context, CancelFunc)

Parameters:

  • parent:
  • d:

WithTimeout

 

class method WithTimeout(parent: Context; timeout: Duration): tuple of (Context, CancelFunc)

 

static (Context, CancelFunc) WithTimeout(Context parent, Duration timeout)

 

static func WithTimeout(_ parent: Context, _ timeout: Duration) -> (Context, CancelFunc)

 

func WithTimeout(parent Context, timeout Duration) tuple of (Context, CancelFunc)

 

Shared Function WithTimeout(parent As Context, timeout As Duration) As Tuple (Of Context, CancelFunc)

Parameters:

  • parent:
  • timeout:

WithValue

 

class method WithValue(parent: Context; key: Object; val: Object): Context

 

static Context WithValue(Context parent, Object key, Object val)

 

static func WithValue(_ parent: Context, _ key: Object, _ val: Object) -> Context

 

func WithValue(parent Context, key interface{}, val interface{}) Context

 

Shared Function WithValue(parent As Context, key As Object, val As Object) As Context

Parameters:

  • parent:
  • key:
  • val:

 

Canceled

 

class var Canceled: error;

 

static error Canceled

 

static var Canceled: error

 

Canceled error

 

Shared FIELD Canceled() As error

DeadlineExceeded

 

class var DeadlineExceeded: error;

 

static error DeadlineExceeded

 

static var DeadlineExceeded: error

 

DeadlineExceeded error

 

Shared FIELD DeadlineExceeded() As error

 

Background

 

class method Background: Context

 

static Context Background()

 

static func Background() -> Context

 

func Background() Context

 

Shared Function Background() As Context

TODO

 

class method TODO: Context

 

static Context TODO()

 

static func TODO() -> Context

 

func TODO() Context

 

Shared Function TODO() As Context

WithCancel

 

class method WithCancel(parent: Context): tuple of (ctx: Context, cancel: CancelFunc)

 

static (Context ctx, CancelFunc cancel) WithCancel(Context parent)

 

static func WithCancel(_ parent: Context) -> (Context, CancelFunc)

 

func WithCancel(parent Context) tuple of (|name=ctx| Context, |name=cancel| CancelFunc)

 

Shared Function WithCancel(parent As Context) As Tuple (Of Context, CancelFunc)

Parameters:

  • parent:

WithDeadline

 

class method WithDeadline(parent: Context; d: Time): tuple of (Context, CancelFunc)

 

static (Context, CancelFunc) WithDeadline(Context parent, Time d)

 

static func WithDeadline(_ parent: Context, _ d: Time) -> (Context, CancelFunc)

 

func WithDeadline(parent Context, d Time) tuple of (Context, CancelFunc)

 

Shared Function WithDeadline(parent As Context, d As Time) As Tuple (Of Context, CancelFunc)

Parameters:

  • parent:
  • d:

WithTimeout

 

class method WithTimeout(parent: Context; timeout: Duration): tuple of (Context, CancelFunc)

 

static (Context, CancelFunc) WithTimeout(Context parent, Duration timeout)

 

static func WithTimeout(_ parent: Context, _ timeout: Duration) -> (Context, CancelFunc)

 

func WithTimeout(parent Context, timeout Duration) tuple of (Context, CancelFunc)

 

Shared Function WithTimeout(parent As Context, timeout As Duration) As Tuple (Of Context, CancelFunc)

Parameters:

  • parent:
  • timeout:

WithValue

 

class method WithValue(parent: Context; key: Object; val: Object): Context

 

static Context WithValue(Context parent, Object key, Object val)

 

static func WithValue(_ parent: Context, _ key: Object, _ val: Object) -> Context

 

func WithValue(parent Context, key interface{}, val interface{}) Context

 

Shared Function WithValue(parent As Context, key As Object, val As Object) As Context

Parameters:

  • parent:
  • key:
  • val: