# LibTmux::Async::Server#source_file

- **Module:** LibTmux::Async
- **Package:** libtmux-async
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/c8b839595d5a30e271e3f9be0d0fe811ddb11b7e/gems/libtmux/lib/libtmux/operations.rb#L42
- **Public owner:** LibTmux::Server#source_file
- **Page:** https://libtmux.org/en/ruby/v0.1.0/reference/libtmux-async-server-source_file/

tmux command: [`source-file`](/en/tmux/latest/manual/source-file/)

```
def source_file: (
  ::String,
  ?timeout: ::Numeric,
  ?cancel: untyped
) -> ::LibTmux::CommandResult
```

Behavior: Source files.

Behavior contract: Source files.

## Parameters

- `arg1` (`::String`)
- `timeout` (`::Numeric`)
- `cancel` (`untyped`)
