unimplemented(_:placeholder:fileID:filePath:function:line:column:)

Returns an asynchronous closure that reports an issue when invoked.

Unimplemented.swift:132
func unimplemented<each Argument, Result>(_ description: @autoclosure @escaping () -> String = "", placeholder: @autoclosure @escaping () -> Result = (), fileID: StaticString = #fileID, filePath: StaticString = #filePath, function: StaticString = #function, line: UInt = #line, column: UInt = #column) -> (repeat each Argument) async -> Result

Parameters

description

An optional description of the unimplemented closure.

placeholder

A placeholder value returned from the closure when left unimplemented.

fileID

The fileID.

filePath

The filePath.

function

The function.

line

The line.

column

The column.

Returns

An asynchronous closure that reports an issue when invoked.

Useful for creating closures that need to be overridden by users of your API, and if it is ever invoked without being overridden an issue will be reported. See Unimplemented closures for more information.